Struct ic_cdk::api::management_canister::main::CanisterIdRecord
source · 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
)