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