pub struct CreationRecord {
pub controllers: Vec<Principal>,
}
๐Deprecated since 0.18.0: The
api::management_canister::main
module is deprecated. Please use the management_canister
module at the crate root.Expand description
Details about a canister creation.
Fieldsยง
ยงcontrollers: Vec<Principal>
๐Deprecated since 0.18.0: The
api::management_canister::main
module is deprecated. Please use the management_canister
module at the crate root.Initial set of canister controllers.
Trait Implementationsยง
Sourceยงimpl CandidType for CreationRecord
impl CandidType for CreationRecord
Sourceยงimpl Clone for CreationRecord
impl Clone for CreationRecord
Sourceยงfn clone(&self) -> CreationRecord
fn clone(&self) -> CreationRecord
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for CreationRecord
impl Debug for CreationRecord
Sourceยงimpl<'de> Deserialize<'de> for CreationRecord
impl<'de> Deserialize<'de> for CreationRecord
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 Hash for CreationRecord
impl Hash for CreationRecord
Sourceยงimpl Ord for CreationRecord
impl Ord for CreationRecord
Sourceยงfn cmp(&self, other: &CreationRecord) -> Ordering
fn cmp(&self, other: &CreationRecord) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for CreationRecord
impl PartialEq for CreationRecord
Sourceยงimpl PartialOrd for CreationRecord
impl PartialOrd for CreationRecord
Sourceยงimpl Serialize for CreationRecord
impl Serialize for CreationRecord
impl Eq for CreationRecord
impl StructuralPartialEq for CreationRecord
Auto Trait Implementationsยง
impl Freeze for CreationRecord
impl RefUnwindSafe for CreationRecord
impl Send for CreationRecord
impl Sync for CreationRecord
impl Unpin for CreationRecord
impl UnwindSafe for CreationRecord
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