pub struct CanisterPoolAsset {
pub canister_id: Principal,
pub cycles: Cycles,
pub origin: CanisterPoolAssetOrigin,
pub status: CanisterPoolAssetStatus,
pub added_at_ns: u64,
pub updated_at_ns: u64,
}Expand description
Controller-visible inventory row for one root-owned physical Canister.
Fields§
§canister_id: Principal§cycles: Cycles§origin: CanisterPoolAssetOrigin§status: CanisterPoolAssetStatus§added_at_ns: u64§updated_at_ns: u64Trait Implementations§
Source§impl CandidType for CanisterPoolAsset
impl CandidType for CanisterPoolAsset
Source§impl Clone for CanisterPoolAsset
impl Clone for CanisterPoolAsset
Source§fn clone(&self) -> CanisterPoolAsset
fn clone(&self) -> CanisterPoolAsset
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 CanisterPoolAsset
impl Debug for CanisterPoolAsset
Source§impl<'de> Deserialize<'de> for CanisterPoolAsset
impl<'de> Deserialize<'de> for CanisterPoolAsset
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 CanisterPoolAsset
Source§impl PartialEq for CanisterPoolAsset
impl PartialEq for CanisterPoolAsset
Source§impl Serialize for CanisterPoolAsset
impl Serialize for CanisterPoolAsset
impl StructuralPartialEq for CanisterPoolAsset
Auto Trait Implementations§
impl Freeze for CanisterPoolAsset
impl RefUnwindSafe for CanisterPoolAsset
impl Send for CanisterPoolAsset
impl Sync for CanisterPoolAsset
impl Unpin for CanisterPoolAsset
impl UnsafeUnpin for CanisterPoolAsset
impl UnwindSafe for CanisterPoolAsset
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