pub enum PoolAdminCommand {
CreateEmpty,
Recycle {
pid: Principal,
},
ImportImmediate {
pid: Principal,
},
ImportQueued {
pids: Vec<Principal>,
},
RequeueFailed {
pids: Option<Vec<Principal>>,
},
}Expand description
PoolAdminCommand
Variants§
Trait Implementations§
Source§impl CandidType for PoolAdminCommand
impl CandidType for PoolAdminCommand
Source§impl Clone for PoolAdminCommand
impl Clone for PoolAdminCommand
Source§fn clone(&self) -> PoolAdminCommand
fn clone(&self) -> PoolAdminCommand
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 PoolAdminCommand
impl Debug for PoolAdminCommand
Source§impl<'de> Deserialize<'de> for PoolAdminCommand
impl<'de> Deserialize<'de> for PoolAdminCommand
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
Source§impl PartialEq for PoolAdminCommand
impl PartialEq for PoolAdminCommand
impl Eq for PoolAdminCommand
impl StructuralPartialEq for PoolAdminCommand
Auto Trait Implementations§
impl Freeze for PoolAdminCommand
impl RefUnwindSafe for PoolAdminCommand
impl Send for PoolAdminCommand
impl Sync for PoolAdminCommand
impl Unpin for PoolAdminCommand
impl UnwindSafe for PoolAdminCommand
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