pub struct CanisterConfig {
pub initial_cycles: Cycles,
pub topup: Option<CanisterTopup>,
pub scaling: Option<ScalingConfig>,
pub sharding: Option<ShardingConfig>,
}Expand description
CanisterConfig
Fields§
§initial_cycles: Cycles§topup: Option<CanisterTopup>§scaling: Option<ScalingConfig>§sharding: Option<ShardingConfig>Trait Implementations§
Source§impl Clone for CanisterConfig
impl Clone for CanisterConfig
Source§fn clone(&self) -> CanisterConfig
fn clone(&self) -> CanisterConfig
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 CanisterConfig
impl Debug for CanisterConfig
Source§impl Default for CanisterConfig
impl Default for CanisterConfig
Source§fn default() -> CanisterConfig
fn default() -> CanisterConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CanisterConfig
impl<'de> Deserialize<'de> for CanisterConfig
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 CanisterConfig
impl RefUnwindSafe for CanisterConfig
impl Send for CanisterConfig
impl Sync for CanisterConfig
impl Unpin for CanisterConfig
impl UnwindSafe for CanisterConfig
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