pub struct CanisterPool {
pub minimum_size: u8,
pub import: PoolImport,
}Expand description
CanisterPool defaults to a minimum size of 0
Fields§
§minimum_size: u8§import: PoolImportTrait Implementations§
Source§impl Clone for CanisterPool
impl Clone for CanisterPool
Source§fn clone(&self) -> CanisterPool
fn clone(&self) -> CanisterPool
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 CanisterPool
impl Debug for CanisterPool
Source§impl Default for CanisterPool
impl Default for CanisterPool
Source§fn default() -> CanisterPool
fn default() -> CanisterPool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CanisterPool
impl<'de> Deserialize<'de> for CanisterPool
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
Auto Trait Implementations§
impl Freeze for CanisterPool
impl RefUnwindSafe for CanisterPool
impl Send for CanisterPool
impl Sync for CanisterPool
impl Unpin for CanisterPool
impl UnwindSafe for CanisterPool
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