pub struct SourceContractBinary(pub Vec<u8>);Expand description
The binary of the compiled smart contract (compiled for PolkaVM).
Tuple Fields§
§0: Vec<u8>The raw bytes of the contract’s binary.
Implementations§
Trait Implementations§
Source§impl Clone for SourceContractBinary
impl Clone for SourceContractBinary
Source§fn clone(&self) -> SourceContractBinary
fn clone(&self) -> SourceContractBinary
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 SourceContractBinary
impl Debug for SourceContractBinary
Source§impl<'de> Deserialize<'de> for SourceContractBinary
impl<'de> Deserialize<'de> for SourceContractBinary
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
Source§impl Display for SourceContractBinary
impl Display for SourceContractBinary
Source§impl PartialEq for SourceContractBinary
impl PartialEq for SourceContractBinary
Source§impl Serialize for SourceContractBinary
impl Serialize for SourceContractBinary
impl Eq for SourceContractBinary
impl StructuralPartialEq for SourceContractBinary
Auto Trait Implementations§
impl Freeze for SourceContractBinary
impl RefUnwindSafe for SourceContractBinary
impl Send for SourceContractBinary
impl Sync for SourceContractBinary
impl Unpin for SourceContractBinary
impl UnwindSafe for SourceContractBinary
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