pub struct ComponentBinding {
pub authority: FleetRegistryAuthority,
pub component: ComponentInstanceId,
pub component_spec: ComponentSpecId,
pub spec_hash: [u8; 32],
pub role: CanisterRole,
pub placement_subnet: SubnetId,
pub fleet_subnet_root: Principal,
pub canister_id: Principal,
}Expand description
ComponentBinding
Complete immutable identity and placement of one concrete Component.
Fields§
§component: ComponentInstanceId§component_spec: ComponentSpecId§spec_hash: [u8; 32]§role: CanisterRole§placement_subnet: SubnetId§fleet_subnet_root: Principal§canister_id: PrincipalTrait Implementations§
Source§impl CandidType for ComponentBinding
impl CandidType for ComponentBinding
Source§impl Clone for ComponentBinding
impl Clone for ComponentBinding
Source§fn clone(&self) -> ComponentBinding
fn clone(&self) -> ComponentBinding
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 ComponentBinding
impl Debug for ComponentBinding
Source§impl<'de> Deserialize<'de> for ComponentBinding
impl<'de> Deserialize<'de> for ComponentBinding
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 ComponentBinding
Source§impl PartialEq for ComponentBinding
impl PartialEq for ComponentBinding
Source§impl Serialize for ComponentBinding
impl Serialize for ComponentBinding
impl StructuralPartialEq for ComponentBinding
Auto Trait Implementations§
impl Freeze for ComponentBinding
impl RefUnwindSafe for ComponentBinding
impl Send for ComponentBinding
impl Sync for ComponentBinding
impl Unpin for ComponentBinding
impl UnsafeUnpin for ComponentBinding
impl UnwindSafe for ComponentBinding
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