Struct concordium_base::updates::AuthorizationsV1
source · pub struct AuthorizationsV1 {
pub v0: AuthorizationsV0,
pub cooldown_parameters: AccessStructure,
pub time_parameters: AccessStructure,
}
Expand description
Access structures for each of the different possible chain updates, togehter with the context giving all the possible keys.
Fields§
§v0: AuthorizationsV0
§cooldown_parameters: AccessStructure
Keys for changing cooldown periods related to baking and delegating.
time_parameters: AccessStructure
Keys for changing the lenghts of the reward period.
Implementations§
source§impl AuthorizationsV1
impl AuthorizationsV1
sourcepub fn construct_update_signer<K>(
&self,
update_key_indices: &AccessStructure,
actual_keys: impl IntoIterator<Item = K>
) -> Option<BTreeMap<UpdateKeysIndex, K>>where
UpdatePublicKey: for<'a> From<&'a K>,
pub fn construct_update_signer<K>( &self, update_key_indices: &AccessStructure, actual_keys: impl IntoIterator<Item = K> ) -> Option<BTreeMap<UpdateKeysIndex, K>>where UpdatePublicKey: for<'a> From<&'a K>,
Trait Implementations§
source§impl Clone for AuthorizationsV1
impl Clone for AuthorizationsV1
source§fn clone(&self) -> AuthorizationsV1
fn clone(&self) -> AuthorizationsV1
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 AuthorizationsV1
impl Debug for AuthorizationsV1
source§impl Deserial for AuthorizationsV1
impl Deserial for AuthorizationsV1
fn deserial<GenericReaderType: ReadBytesExt>( source: &mut GenericReaderType ) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for AuthorizationsV1
impl<'de> Deserialize<'de> for AuthorizationsV1
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 AuthorizationsV1
impl Serial for AuthorizationsV1
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizationsV1
impl Send for AuthorizationsV1
impl Sync for AuthorizationsV1
impl Unpin for AuthorizationsV1
impl UnwindSafe for AuthorizationsV1
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