pub struct CanisterIdRecord {
pub canister_id: CanisterId,
}
Expand description
A wrapper of canister id.
Fields§
§canister_id: CanisterId
Principal of the canister.
Trait Implementations§
Source§impl CandidType for CanisterIdRecord
impl CandidType for CanisterIdRecord
Source§impl Clone for CanisterIdRecord
impl Clone for CanisterIdRecord
Source§fn clone(&self) -> CanisterIdRecord
fn clone(&self) -> CanisterIdRecord
Returns a copy 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 CanisterIdRecord
impl Debug for CanisterIdRecord
Source§impl<'de> Deserialize<'de> for CanisterIdRecord
impl<'de> Deserialize<'de> for CanisterIdRecord
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 Hash for CanisterIdRecord
impl Hash for CanisterIdRecord
Source§impl Ord for CanisterIdRecord
impl Ord for CanisterIdRecord
Source§fn cmp(&self, other: &CanisterIdRecord) -> Ordering
fn cmp(&self, other: &CanisterIdRecord) -> Ordering
1.21.0 · 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
Source§impl PartialEq for CanisterIdRecord
impl PartialEq for CanisterIdRecord
Source§impl PartialOrd for CanisterIdRecord
impl PartialOrd for CanisterIdRecord
Source§impl Serialize for CanisterIdRecord
impl Serialize for CanisterIdRecord
impl Copy for CanisterIdRecord
impl Eq for CanisterIdRecord
impl StructuralPartialEq for CanisterIdRecord
Auto Trait Implementations§
impl Freeze for CanisterIdRecord
impl RefUnwindSafe for CanisterIdRecord
impl Send for CanisterIdRecord
impl Sync for CanisterIdRecord
impl Unpin for CanisterIdRecord
impl UnwindSafe for CanisterIdRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)