pub struct ContractRef {
pub module: String,
pub family: String,
pub version: String,
}Expand description
Address of a contract within a manual.
Fields§
§module: StringOwning module id string.
family: StringContractFamily name.
version: StringContract spec version string.
Trait Implementations§
Source§impl Clone for ContractRef
impl Clone for ContractRef
Source§fn clone(&self) -> ContractRef
fn clone(&self) -> ContractRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContractRef
impl Debug for ContractRef
impl Eq for ContractRef
Source§impl Hash for ContractRef
impl Hash for ContractRef
Source§impl PartialEq for ContractRef
impl PartialEq for ContractRef
Source§fn eq(&self, other: &ContractRef) -> bool
fn eq(&self, other: &ContractRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContractRef
Auto Trait Implementations§
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