pub struct Canister {
pub def: Def,
pub memory_min: u8,
pub memory_max: u8,
}Expand description
Canister
Fields§
§def: Def§memory_min: u8§memory_max: u8Trait Implementations§
Source§impl CandidType for Canister
impl CandidType for Canister
Auto Trait Implementations§
impl Freeze for Canister
impl RefUnwindSafe for Canister
impl Send for Canister
impl Sync for Canister
impl Unpin for Canister
impl UnwindSafe for Canister
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