pub struct ContractRef {
pub name: String,
pub version: u32,
pub digest: ContractDigest,
}Fields§
§name: String§version: u32§digest: ContractDigestTrait Implementations§
Source§impl Clone for ContractRef
impl Clone for ContractRef
Source§impl Debug for ContractRef
impl Debug for ContractRef
impl Eq for ContractRef
Source§impl Ord for ContractRef
impl Ord for ContractRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContractRef
impl PartialEq for ContractRef
Source§impl PartialOrd for ContractRef
impl PartialOrd for ContractRef
impl StructuralPartialEq for ContractRef
Auto Trait Implementations§
impl Forget for ContractRef
impl Freeze for ContractRef
impl RefUnwindSafe for ContractRef
impl Send for ContractRef
impl Sync for ContractRef
impl Unpin for ContractRef
impl UnsafeUnpin for ContractRef
impl UnwindSafe for ContractRef
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