pub struct CanisterPoolResponse {Show 18 fields
pub config: FleetSubnetCanisterPoolConfig,
pub tracked: u32,
pub store: u32,
pub store_deletion_pending: u32,
pub pooled: u32,
pub workload: u32,
pub surplus: u32,
pub ready: u32,
pub pending_reset: u32,
pub claimed: u32,
pub recycling: u32,
pub handing_off: u32,
pub failed: u32,
pub completed_handoffs: u64,
pub pending_creation: Option<CanisterPoolCreation>,
pub pending_handoff: Option<CanisterPoolHandoff>,
pub entries: Vec<CanisterPoolAsset>,
pub next_start_after: Option<Principal>,
}Expand description
Exact pool policy and current exclusive root-owned physical inventory.
Fields§
§config: FleetSubnetCanisterPoolConfig§tracked: u32§store: u32§store_deletion_pending: u32§pooled: u32§workload: u32§surplus: u32§ready: u32§pending_reset: u32§claimed: u32§recycling: u32§handing_off: u32§failed: u32§completed_handoffs: u64§pending_creation: Option<CanisterPoolCreation>§pending_handoff: Option<CanisterPoolHandoff>§entries: Vec<CanisterPoolAsset>§next_start_after: Option<Principal>Trait Implementations§
Source§impl CandidType for CanisterPoolResponse
impl CandidType for CanisterPoolResponse
Source§impl Clone for CanisterPoolResponse
impl Clone for CanisterPoolResponse
Source§fn clone(&self) -> CanisterPoolResponse
fn clone(&self) -> CanisterPoolResponse
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 CanisterPoolResponse
impl Debug for CanisterPoolResponse
Source§impl<'de> Deserialize<'de> for CanisterPoolResponse
impl<'de> Deserialize<'de> for CanisterPoolResponse
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 CanisterPoolResponse
Source§impl PartialEq for CanisterPoolResponse
impl PartialEq for CanisterPoolResponse
Source§impl Serialize for CanisterPoolResponse
impl Serialize for CanisterPoolResponse
impl StructuralPartialEq for CanisterPoolResponse
Auto Trait Implementations§
impl Freeze for CanisterPoolResponse
impl RefUnwindSafe for CanisterPoolResponse
impl Send for CanisterPoolResponse
impl Sync for CanisterPoolResponse
impl Unpin for CanisterPoolResponse
impl UnsafeUnpin for CanisterPoolResponse
impl UnwindSafe for CanisterPoolResponse
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