pub enum MessageIntegrityCredentials {
ShortTerm(ShortTermCredentials),
LongTerm(LongTermCredentials),
}Expand description
Enum for holding the credentials used to sign or verify a Message
This can either be a set of ShortTermCredentials or LongTermCredentials`
Variants§
ShortTerm(ShortTermCredentials)
LongTerm(LongTermCredentials)
Trait Implementations§
source§impl Clone for MessageIntegrityCredentials
impl Clone for MessageIntegrityCredentials
source§fn clone(&self) -> MessageIntegrityCredentials
fn clone(&self) -> MessageIntegrityCredentials
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 MessageIntegrityCredentials
impl Debug for MessageIntegrityCredentials
source§impl From<LongTermCredentials> for MessageIntegrityCredentials
impl From<LongTermCredentials> for MessageIntegrityCredentials
source§fn from(value: LongTermCredentials) -> Self
fn from(value: LongTermCredentials) -> Self
Converts to this type from the input type.
source§impl From<ShortTermCredentials> for MessageIntegrityCredentials
impl From<ShortTermCredentials> for MessageIntegrityCredentials
source§fn from(value: ShortTermCredentials) -> Self
fn from(value: ShortTermCredentials) -> Self
Converts to this type from the input type.
source§impl PartialEq for MessageIntegrityCredentials
impl PartialEq for MessageIntegrityCredentials
source§fn eq(&self, other: &MessageIntegrityCredentials) -> bool
fn eq(&self, other: &MessageIntegrityCredentials) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MessageIntegrityCredentials
impl StructuralPartialEq for MessageIntegrityCredentials
Auto Trait Implementations§
impl Freeze for MessageIntegrityCredentials
impl RefUnwindSafe for MessageIntegrityCredentials
impl Send for MessageIntegrityCredentials
impl Sync for MessageIntegrityCredentials
impl Unpin for MessageIntegrityCredentials
impl UnwindSafe for MessageIntegrityCredentials
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)