pub struct ComponentRuntimeDirectChild {
pub canister_id: Principal,
pub role: CanisterRole,
}Expand description
ComponentRuntimeDirectChild
Exact active direct-child projection delivered with one Component Directory authority.
Fields§
§canister_id: Principal§role: CanisterRoleTrait Implementations§
Source§impl Clone for ComponentRuntimeDirectChild
impl Clone for ComponentRuntimeDirectChild
Source§fn clone(&self) -> ComponentRuntimeDirectChild
fn clone(&self) -> ComponentRuntimeDirectChild
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 moreSource§impl Debug for ComponentRuntimeDirectChild
impl Debug for ComponentRuntimeDirectChild
Source§impl<'de> Deserialize<'de> for ComponentRuntimeDirectChild
impl<'de> Deserialize<'de> for ComponentRuntimeDirectChild
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
impl Eq for ComponentRuntimeDirectChild
Source§impl Ord for ComponentRuntimeDirectChild
impl Ord for ComponentRuntimeDirectChild
Source§fn cmp(&self, other: &ComponentRuntimeDirectChild) -> Ordering
fn cmp(&self, other: &ComponentRuntimeDirectChild) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for ComponentRuntimeDirectChild
impl PartialOrd for ComponentRuntimeDirectChild
impl StructuralPartialEq for ComponentRuntimeDirectChild
Auto Trait Implementations§
impl Freeze for ComponentRuntimeDirectChild
impl RefUnwindSafe for ComponentRuntimeDirectChild
impl Send for ComponentRuntimeDirectChild
impl Sync for ComponentRuntimeDirectChild
impl Unpin for ComponentRuntimeDirectChild
impl UnsafeUnpin for ComponentRuntimeDirectChild
impl UnwindSafe for ComponentRuntimeDirectChild
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