pub struct ControllersChangeRecord {
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 updating canister controllers.
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.The full new set of canister controllers.
Trait Implementationsยง
Sourceยงimpl Clone for ControllersChangeRecord
impl Clone for ControllersChangeRecord
Sourceยงfn clone(&self) -> ControllersChangeRecord
fn clone(&self) -> ControllersChangeRecord
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 ControllersChangeRecord
impl Debug for ControllersChangeRecord
Sourceยงimpl<'de> Deserialize<'de> for ControllersChangeRecord
impl<'de> Deserialize<'de> for ControllersChangeRecord
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 ControllersChangeRecord
impl Hash for ControllersChangeRecord
Sourceยงimpl Ord for ControllersChangeRecord
impl Ord for ControllersChangeRecord
Sourceยงfn cmp(&self, other: &ControllersChangeRecord) -> Ordering
fn cmp(&self, other: &ControllersChangeRecord) -> 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 ControllersChangeRecord
impl PartialEq for ControllersChangeRecord
Sourceยงfn eq(&self, other: &ControllersChangeRecord) -> bool
fn eq(&self, other: &ControllersChangeRecord) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for ControllersChangeRecord
impl PartialOrd for ControllersChangeRecord
Sourceยงimpl Serialize for ControllersChangeRecord
impl Serialize for ControllersChangeRecord
impl Eq for ControllersChangeRecord
impl StructuralPartialEq for ControllersChangeRecord
Auto Trait Implementationsยง
impl Freeze for ControllersChangeRecord
impl RefUnwindSafe for ControllersChangeRecord
impl Send for ControllersChangeRecord
impl Sync for ControllersChangeRecord
impl Unpin for ControllersChangeRecord
impl UnwindSafe for ControllersChangeRecord
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