pub struct ScriptLike {
pub code_hash: [u8; 32],
pub hash_type: u8,
pub args: Vec<u8>,
}
Fields§
§code_hash: [u8; 32]
§hash_type: u8
§args: Vec<u8>
Trait Implementations§
Source§impl Clone for ScriptLike
impl Clone for ScriptLike
Source§fn clone(&self) -> ScriptLike
fn clone(&self) -> ScriptLike
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScriptLike
impl Debug for ScriptLike
Source§impl<'de> Deserialize<'de> for ScriptLike
impl<'de> Deserialize<'de> for ScriptLike
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScriptLike
impl RefUnwindSafe for ScriptLike
impl Send for ScriptLike
impl Sync for ScriptLike
impl Unpin for ScriptLike
impl UnwindSafe for ScriptLike
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more