pub struct IcTokenId(_);
Available on crate feature
std
only.Expand description
Token that cannot be used to access the contents of a TokenLock
, but can
be used to create a new TokenLock
.
Examples
IcTokenId
can be cloned while IcToken
cannot:
let token = IcToken::new();
let token_id = token.id();
let lock1 = TokenLock::new(token_id.clone(), 1);
let lock2 = TokenLock::new(token_id, 2);
Trait Implementations
impl Copy for IcTokenId
impl Eq for IcTokenId
impl StructuralEq for IcTokenId
impl StructuralPartialEq for IcTokenId
Auto Trait Implementations
impl RefUnwindSafe for IcTokenId
impl Send for IcTokenId
impl Sync for IcTokenId
impl Unpin for IcTokenId
impl UnwindSafe for IcTokenId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more