pub struct ContractId(pub Uuid);Expand description
Unique identifier for contract entities.
Tuple Fields§
§0: UuidImplementations§
Source§impl ContractId
impl ContractId
Trait Implementations§
Source§impl Clone for ContractId
impl Clone for ContractId
Source§fn clone(&self) -> ContractId
fn clone(&self) -> ContractId
Returns a duplicate 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 ContractId
impl Debug for ContractId
Source§impl Default for ContractId
impl Default for ContractId
Source§impl<'de> Deserialize<'de> for ContractId
impl<'de> Deserialize<'de> for ContractId
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 ContractId
impl Display for ContractId
Source§impl FromStr for ContractId
impl FromStr for ContractId
Source§impl Hash for ContractId
impl Hash for ContractId
Source§impl PartialEq for ContractId
impl PartialEq for ContractId
Source§impl Serialize for ContractId
impl Serialize for ContractId
impl Copy for ContractId
impl Eq for ContractId
impl StructuralPartialEq for ContractId
Auto Trait Implementations§
impl Freeze for ContractId
impl RefUnwindSafe for ContractId
impl Send for ContractId
impl Sync for ContractId
impl Unpin for ContractId
impl UnsafeUnpin for ContractId
impl UnwindSafe for ContractId
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