pub struct Contract { /* private fields */ }Expand description
Native implementation for Contract
Implementations§
Trait Implementations§
Source§impl FromBytes<Contract> for Contract
impl FromBytes<Contract> for Contract
fn from_bytes(bytes: &[u8]) -> Result<Contract, ProtoConversionError>
Source§impl FromNative<Contract> for Contract
impl FromNative<Contract> for Contract
fn from_native(contract: Contract) -> Result<Self, ProtoConversionError>
Source§impl FromProto<Contract> for Contract
impl FromProto<Contract> for Contract
fn from_proto(proto: Contract) -> Result<Self, ProtoConversionError>
Source§impl IntoBytes for Contract
impl IntoBytes for Contract
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
Source§impl IntoNative<Contract> for Contract
impl IntoNative<Contract> for Contract
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<Contract> for Contract
impl IntoProto<Contract> for Contract
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Contract
Auto Trait Implementations§
impl Freeze for Contract
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
Source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.