pub enum CanisterStatusType {
Running,
Stopping,
Stopped,
}Expand description
Variants§
Running
The canister is running.
Stopping
The canister is stopping.
Stopped
The canister is stopped.
Trait Implementations§
Source§impl CandidType for CanisterStatusType
impl CandidType for CanisterStatusType
Source§impl Clone for CanisterStatusType
impl Clone for CanisterStatusType
Source§fn clone(&self) -> CanisterStatusType
fn clone(&self) -> CanisterStatusType
Returns a duplicate of the value. Read more
1.0.0 · 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 CanisterStatusType
impl Debug for CanisterStatusType
Source§impl<'de> Deserialize<'de> for CanisterStatusType
impl<'de> Deserialize<'de> for CanisterStatusType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CanisterStatusType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CanisterStatusType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CanisterStatusType
impl Hash for CanisterStatusType
Source§impl Ord for CanisterStatusType
impl Ord for CanisterStatusType
Source§fn cmp(&self, other: &CanisterStatusType) -> Ordering
fn cmp(&self, other: &CanisterStatusType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CanisterStatusType
impl PartialEq for CanisterStatusType
Source§impl PartialOrd for CanisterStatusType
impl PartialOrd for CanisterStatusType
Source§impl Serialize for CanisterStatusType
impl Serialize for CanisterStatusType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CanisterStatusType
impl Eq for CanisterStatusType
impl StructuralPartialEq for CanisterStatusType
Auto Trait Implementations§
impl Freeze for CanisterStatusType
impl RefUnwindSafe for CanisterStatusType
impl Send for CanisterStatusType
impl Sync for CanisterStatusType
impl Unpin for CanisterStatusType
impl UnwindSafe for CanisterStatusType
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