Struct concordium_base::updates::AccessStructure
source · pub struct AccessStructure {
pub authorized_keys: BTreeSet<UpdateKeysIndex>,
pub threshold: UpdateKeysThreshold,
}
Expand description
And access structure for performing chain updates. The access structure is only meaningful in the context of a list of update keys to which the indices refer to.
Fields§
§threshold: UpdateKeysThreshold
Trait Implementations§
source§impl Clone for AccessStructure
impl Clone for AccessStructure
source§fn clone(&self) -> AccessStructure
fn clone(&self) -> AccessStructure
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 AccessStructure
impl Debug for AccessStructure
source§impl Deserial for AccessStructure
impl Deserial for AccessStructure
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for AccessStructure
impl<'de> Deserialize<'de> for AccessStructure
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 Serial for AccessStructure
impl Serial for AccessStructure
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
Auto Trait Implementations§
impl RefUnwindSafe for AccessStructure
impl Send for AccessStructure
impl Sync for AccessStructure
impl Unpin for AccessStructure
impl UnwindSafe for AccessStructure
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