pub struct VapidSignature {
pub auth_t: String,
pub auth_k: Vec<u8>,
}
Expand description
A struct representing a VAPID signature. Should be generated using the VapidSignatureBuilder.
Fields§
§auth_t: String
The signed JWT, base64 encoded
auth_k: Vec<u8>
The public key bytes
Trait Implementations§
Source§impl Clone for VapidSignature
impl Clone for VapidSignature
Source§fn clone(&self) -> VapidSignature
fn clone(&self) -> VapidSignature
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 VapidSignature
impl Debug for VapidSignature
Source§impl Hash for VapidSignature
impl Hash for VapidSignature
Source§impl Ord for VapidSignature
impl Ord for VapidSignature
Source§fn cmp(&self, other: &VapidSignature) -> Ordering
fn cmp(&self, other: &VapidSignature) -> Ordering
1.21.0 · 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
Source§impl PartialEq for VapidSignature
impl PartialEq for VapidSignature
Source§impl PartialOrd for VapidSignature
impl PartialOrd for VapidSignature
impl Eq for VapidSignature
impl StructuralPartialEq for VapidSignature
Auto Trait Implementations§
impl Freeze for VapidSignature
impl RefUnwindSafe for VapidSignature
impl Send for VapidSignature
impl Sync for VapidSignature
impl Unpin for VapidSignature
impl UnwindSafe for VapidSignature
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