pub struct CanisterSettings {
pub controllers: Option<Vec<Principal>>,
pub compute_allocation: Option<Nat>,
pub memory_allocation: Option<Nat>,
pub freezing_threshold: Option<Nat>,
}Fields§
§controllers: Option<Vec<Principal>>§compute_allocation: Option<Nat>§memory_allocation: Option<Nat>§freezing_threshold: Option<Nat>Trait Implementations§
Source§impl CandidType for CanisterSettings
impl CandidType for CanisterSettings
Source§impl Clone for CanisterSettings
impl Clone for CanisterSettings
Source§fn clone(&self) -> CanisterSettings
fn clone(&self) -> CanisterSettings
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 CanisterSettings
impl Debug for CanisterSettings
Source§impl<'de> Deserialize<'de> for CanisterSettings
impl<'de> Deserialize<'de> for CanisterSettings
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 CanisterSettings
impl PartialEq for CanisterSettings
Source§impl PartialOrd for CanisterSettings
impl PartialOrd for CanisterSettings
impl StructuralPartialEq for CanisterSettings
Auto Trait Implementations§
impl Freeze for CanisterSettings
impl RefUnwindSafe for CanisterSettings
impl Send for CanisterSettings
impl Sync for CanisterSettings
impl Unpin for CanisterSettings
impl UnwindSafe for CanisterSettings
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