Struct contract_metadata::SourceWasm
source · [−]Expand description
The bytes of the compiled Wasm smart contract.
Tuple Fields
0: Vec<u8>The raw bytes of the Wasm code.
Implementations
Trait Implementations
sourceimpl Clone for SourceWasm
impl Clone for SourceWasm
sourcefn clone(&self) -> SourceWasm
fn clone(&self) -> SourceWasm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SourceWasm
impl Debug for SourceWasm
sourceimpl<'de> Deserialize<'de> for SourceWasm
impl<'de> Deserialize<'de> for SourceWasm
sourcefn 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
sourceimpl Display for SourceWasm
impl Display for SourceWasm
sourcefn fmt(&self, f: &mut Formatter<'_>) -> DisplayResult
fn fmt(&self, f: &mut Formatter<'_>) -> DisplayResult
Formats the value using the given formatter. Read more
sourceimpl Serialize for SourceWasm
impl Serialize for SourceWasm
Auto Trait Implementations
impl RefUnwindSafe for SourceWasm
impl Send for SourceWasm
impl Sync for SourceWasm
impl Unpin for SourceWasm
impl UnwindSafe for SourceWasm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more