Struct concordium_std::CredentialPublicKeys
source · pub struct CredentialPublicKeys {
pub keys: BTreeMap<u8, PublicKey>,
pub threshold: NonZeroThresholdU8<SignatureKind>,
}
Fields§
§keys: BTreeMap<u8, PublicKey>
§threshold: NonZeroThresholdU8<SignatureKind>
Trait Implementations§
source§impl Debug for CredentialPublicKeys
impl Debug for CredentialPublicKeys
source§impl Deserial for CredentialPublicKeys
impl Deserial for CredentialPublicKeys
source§fn deserial<__R>(
________________source: &mut __R
) -> Result<CredentialPublicKeys, ParseError>where
__R: Read,
fn deserial<__R>(
________________source: &mut __R
) -> Result<CredentialPublicKeys, ParseError>where
__R: Read,
Attempt to read a structure from a given source, failing if an error
occurs during deserialization or reading.
source§impl PartialEq for CredentialPublicKeys
impl PartialEq for CredentialPublicKeys
source§fn eq(&self, other: &CredentialPublicKeys) -> bool
fn eq(&self, other: &CredentialPublicKeys) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SchemaType for CredentialPublicKeys
impl SchemaType for CredentialPublicKeys
source§impl Serial for CredentialPublicKeys
impl Serial for CredentialPublicKeys
impl Eq for CredentialPublicKeys
impl StructuralPartialEq for CredentialPublicKeys
Auto Trait Implementations§
impl Freeze for CredentialPublicKeys
impl RefUnwindSafe for CredentialPublicKeys
impl Send for CredentialPublicKeys
impl Sync for CredentialPublicKeys
impl Unpin for CredentialPublicKeys
impl UnwindSafe for CredentialPublicKeys
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
source§impl<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
impl<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
source§fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
Attempt to read a structure from a given source and state, failing if
an error occurs during deserialization or reading.