pub struct ComponentDeploymentSpawnGrantLimit {
pub parent_role: CanisterRole,
pub child_role: CanisterRole,
pub maximum_instances_per_parent: u32,
}Expand description
Canonical reduced ceiling for one exact Component Spec spawn grant.
Fields§
§parent_role: CanisterRole§child_role: CanisterRole§maximum_instances_per_parent: u32Trait Implementations§
Source§impl Clone for ComponentDeploymentSpawnGrantLimit
impl Clone for ComponentDeploymentSpawnGrantLimit
Source§fn clone(&self) -> ComponentDeploymentSpawnGrantLimit
fn clone(&self) -> ComponentDeploymentSpawnGrantLimit
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<'de> Deserialize<'de> for ComponentDeploymentSpawnGrantLimit
impl<'de> Deserialize<'de> for ComponentDeploymentSpawnGrantLimit
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 ComponentDeploymentSpawnGrantLimit
impl StructuralPartialEq for ComponentDeploymentSpawnGrantLimit
Auto Trait Implementations§
impl Freeze for ComponentDeploymentSpawnGrantLimit
impl RefUnwindSafe for ComponentDeploymentSpawnGrantLimit
impl Send for ComponentDeploymentSpawnGrantLimit
impl Sync for ComponentDeploymentSpawnGrantLimit
impl Unpin for ComponentDeploymentSpawnGrantLimit
impl UnsafeUnpin for ComponentDeploymentSpawnGrantLimit
impl UnwindSafe for ComponentDeploymentSpawnGrantLimit
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