pub struct ScalePool {
pub canister_type: CanisterRole,
pub policy: ScalePoolPolicy,
}Expand description
ScalePool One stateless worker group (e.g. “oracle”).
Fields§
§canister_type: CanisterRole§policy: ScalePoolPolicyTrait Implementations§
Source§impl<'de> Deserialize<'de> for ScalePool
impl<'de> Deserialize<'de> for ScalePool
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 ScalePool
impl RefUnwindSafe for ScalePool
impl Send for ScalePool
impl Sync for ScalePool
impl Unpin for ScalePool
impl UnwindSafe for ScalePool
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