pub struct FleetComponentSpecEntry {
pub component_spec: ComponentSpecId,
pub spec_hash: [u8; 32],
pub component_role: CanisterRole,
pub maximum_fleet_instances: u32,
}Expand description
FleetComponentSpecEntry
Fleet-wide immutable Component Spec declaration projected into the Registry.
Fields§
§component_spec: ComponentSpecId§spec_hash: [u8; 32]§component_role: CanisterRole§maximum_fleet_instances: u32Trait Implementations§
Source§impl CandidType for FleetComponentSpecEntry
impl CandidType for FleetComponentSpecEntry
Source§impl Clone for FleetComponentSpecEntry
impl Clone for FleetComponentSpecEntry
Source§fn clone(&self) -> FleetComponentSpecEntry
fn clone(&self) -> FleetComponentSpecEntry
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 FleetComponentSpecEntry
impl Debug for FleetComponentSpecEntry
Source§impl<'de> Deserialize<'de> for FleetComponentSpecEntry
impl<'de> Deserialize<'de> for FleetComponentSpecEntry
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 FleetComponentSpecEntry
Source§impl PartialEq for FleetComponentSpecEntry
impl PartialEq for FleetComponentSpecEntry
Source§impl Serialize for FleetComponentSpecEntry
impl Serialize for FleetComponentSpecEntry
impl StructuralPartialEq for FleetComponentSpecEntry
Auto Trait Implementations§
impl Freeze for FleetComponentSpecEntry
impl RefUnwindSafe for FleetComponentSpecEntry
impl Send for FleetComponentSpecEntry
impl Sync for FleetComponentSpecEntry
impl Unpin for FleetComponentSpecEntry
impl UnsafeUnpin for FleetComponentSpecEntry
impl UnwindSafe for FleetComponentSpecEntry
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