#[repr(u8)]pub enum SdJwtCredentialCompacted {
Uncompacted = 0,
Compacted = 1,
}
Available on crate feature
draft-mahy-mls-sd-cwt-credential
only.Variants§
Trait Implementations§
Source§impl Clone for SdJwtCredentialCompacted
impl Clone for SdJwtCredentialCompacted
Source§fn clone(&self) -> SdJwtCredentialCompacted
fn clone(&self) -> SdJwtCredentialCompacted
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SdJwtCredentialCompacted
impl Debug for SdJwtCredentialCompacted
Source§impl<'de> Deserialize<'de> for SdJwtCredentialCompacted
impl<'de> Deserialize<'de> for SdJwtCredentialCompacted
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 Deserialize for SdJwtCredentialCompacted
impl Deserialize for SdJwtCredentialCompacted
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl Hash for SdJwtCredentialCompacted
impl Hash for SdJwtCredentialCompacted
Source§impl PartialEq for SdJwtCredentialCompacted
impl PartialEq for SdJwtCredentialCompacted
Source§fn eq(&self, other: &SdJwtCredentialCompacted) -> bool
fn eq(&self, other: &SdJwtCredentialCompacted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for &SdJwtCredentialCompacted
impl Serialize for &SdJwtCredentialCompacted
Source§impl Serialize for SdJwtCredentialCompacted
impl Serialize for SdJwtCredentialCompacted
Source§impl Serialize for SdJwtCredentialCompacted
impl Serialize for SdJwtCredentialCompacted
Source§impl Size for &SdJwtCredentialCompacted
impl Size for &SdJwtCredentialCompacted
fn tls_serialized_len(&self) -> usize
Source§impl Size for SdJwtCredentialCompacted
impl Size for SdJwtCredentialCompacted
fn tls_serialized_len(&self) -> usize
impl Eq for SdJwtCredentialCompacted
impl StructuralPartialEq for SdJwtCredentialCompacted
Auto Trait Implementations§
impl Freeze for SdJwtCredentialCompacted
impl RefUnwindSafe for SdJwtCredentialCompacted
impl Send for SdJwtCredentialCompacted
impl Sync for SdJwtCredentialCompacted
impl Unpin for SdJwtCredentialCompacted
impl UnwindSafe for SdJwtCredentialCompacted
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