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
Principle 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<CanisterIdRecord> for CanisterIdRecord
impl PartialEq<CanisterIdRecord> for CanisterIdRecord
source§fn eq(&self, other: &CanisterIdRecord) -> bool
fn eq(&self, other: &CanisterIdRecord) -> bool
source§impl PartialOrd<CanisterIdRecord> for CanisterIdRecord
impl PartialOrd<CanisterIdRecord> for CanisterIdRecord
source§fn partial_cmp(&self, other: &CanisterIdRecord) -> Option<Ordering>
fn partial_cmp(&self, other: &CanisterIdRecord) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more