pub struct ContractId(pub usize);Tuple Fields§
§0: usizeTrait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContractId
Source§impl Debug for ContractId
impl Debug for ContractId
impl Eq for ContractId
Source§impl Hash for ContractId
impl Hash for ContractId
Source§impl PartialEq for ContractId
impl PartialEq for ContractId
Source§fn eq(&self, other: &ContractId) -> bool
fn eq(&self, other: &ContractId) -> bool
Tests for
self and other values to be equal, and is used by ==.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