#[non_exhaustive]pub struct StatusListTokenHeader {
pub alg: SigningAlgorithm,
pub kid: String,
pub typ: String,
}Expand description
Header of the Status List Token in the JWT format.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.alg: SigningAlgorithmAn algorithm used to sign the token.
kid: StringAn ID of the private key used to sign the token.
typ: StringType of the JWT, which is always statuslist+jwt.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StatusListTokenHeader
impl<'de> Deserialize<'de> for StatusListTokenHeader
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 JoseHeader for StatusListTokenHeader
impl JoseHeader for StatusListTokenHeader
fn algorithm_type(&self) -> AlgorithmType
fn key_id(&self) -> Option<&str>
fn type_(&self) -> Option<HeaderType>
fn content_type(&self) -> Option<HeaderContentType>
Auto Trait Implementations§
impl Freeze for StatusListTokenHeader
impl RefUnwindSafe for StatusListTokenHeader
impl Send for StatusListTokenHeader
impl Sync for StatusListTokenHeader
impl Unpin for StatusListTokenHeader
impl UnwindSafe for StatusListTokenHeader
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