pub struct StatusType(pub u8);Available on crate feature
sd-jwt only.Expand description
A status type value (Token Status List §7): a number in 0..=255, with the registered
meanings as constants.
Tuple Fields§
§0: u8Implementations§
Source§impl StatusType
impl StatusType
Trait Implementations§
Source§impl Clone for StatusType
impl Clone for StatusType
impl Copy for StatusType
Source§impl Debug for StatusType
impl Debug for StatusType
Source§impl Display for StatusType
impl Display for StatusType
impl Eq for StatusType
Source§impl From<u8> for StatusType
impl From<u8> for StatusType
Source§impl Hash for StatusType
impl Hash for StatusType
Source§impl Ord for StatusType
impl Ord for StatusType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StatusType
impl PartialEq for StatusType
Source§impl PartialOrd for StatusType
impl PartialOrd for StatusType
impl StructuralPartialEq for StatusType
Auto Trait Implementations§
impl Freeze for StatusType
impl RefUnwindSafe for StatusType
impl Send for StatusType
impl Sync for StatusType
impl Unpin for StatusType
impl UnsafeUnpin for StatusType
impl UnwindSafe for StatusType
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.