Enum concordium_base::updates::Level1Update
source · pub enum Level1Update {
Level1KeysUpdate(HigherLevelAccessStructure<Level1KeysKind>),
Level2KeysUpdate(Box<Authorizations<ChainParameterVersion0>>),
Level2KeysUpdateV1(Box<Authorizations<ChainParameterVersion1>>),
}
Expand description
An update with level 1 keys of either level 1 or level 2 keys. Each of the updates must be a separate transaction.
Variants§
Level1KeysUpdate(HigherLevelAccessStructure<Level1KeysKind>)
Level2KeysUpdate(Box<Authorizations<ChainParameterVersion0>>)
Level2KeysUpdateV1(Box<Authorizations<ChainParameterVersion1>>)
Trait Implementations§
source§impl Clone for Level1Update
impl Clone for Level1Update
source§fn clone(&self) -> Level1Update
fn clone(&self) -> Level1Update
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 Level1Update
impl Debug for Level1Update
source§impl Deserial for Level1Update
impl Deserial for Level1Update
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for Level1Update
impl<'de> Deserialize<'de> for Level1Update
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 Level1Update
impl Send for Level1Update
impl Sync for Level1Update
impl Unpin for Level1Update
impl UnwindSafe for Level1Update
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