Enum concordium_base::updates::RootUpdate
source · pub enum RootUpdate {
RootKeysUpdate(HigherLevelAccessStructure<RootKeysKind>),
Level1KeysUpdate(HigherLevelAccessStructure<Level1KeysKind>),
Level2KeysUpdate(Box<Authorizations<ChainParameterVersion0>>),
Level2KeysUpdateV1(Box<Authorizations<ChainParameterVersion1>>),
}
Expand description
An update with root keys of some other set of governance keys, or the root keys themselves. Each update is a separate transaction.
Variants§
RootKeysUpdate(HigherLevelAccessStructure<RootKeysKind>)
Level1KeysUpdate(HigherLevelAccessStructure<Level1KeysKind>)
Level2KeysUpdate(Box<Authorizations<ChainParameterVersion0>>)
Level2KeysUpdateV1(Box<Authorizations<ChainParameterVersion1>>)
Trait Implementations§
source§impl Clone for RootUpdate
impl Clone for RootUpdate
source§fn clone(&self) -> RootUpdate
fn clone(&self) -> RootUpdate
Returns a copy 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 RootUpdate
impl Debug for RootUpdate
source§impl Deserial for RootUpdate
impl Deserial for RootUpdate
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for RootUpdate
impl<'de> Deserialize<'de> for RootUpdate
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
Auto Trait Implementations§
impl RefUnwindSafe for RootUpdate
impl Send for RootUpdate
impl Sync for RootUpdate
impl Unpin for RootUpdate
impl UnwindSafe for RootUpdate
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