Struct jws::compact::CompactSerializedParts
source · pub struct CompactSerializedParts<'a> {
pub header: &'a [u8],
pub payload: &'a [u8],
pub signature: &'a [u8],
}
Expand description
The individual (still encoded) parts of a JWS Compact Serialized message.
Fields
header: &'a [u8]
payload: &'a [u8]
signature: &'a [u8]
Implementations
sourceimpl<'a> CompactSerializedParts<'a>
impl<'a> CompactSerializedParts<'a>
Trait Implementations
sourceimpl<'a> Clone for CompactSerializedParts<'a>
impl<'a> Clone for CompactSerializedParts<'a>
sourcefn clone(&self) -> CompactSerializedParts<'a>
fn clone(&self) -> CompactSerializedParts<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for CompactSerializedParts<'a>
impl<'a> Debug for CompactSerializedParts<'a>
sourceimpl<'a> PartialEq<CompactSerializedParts<'a>> for CompactSerializedParts<'a>
impl<'a> PartialEq<CompactSerializedParts<'a>> for CompactSerializedParts<'a>
sourcefn eq(&self, other: &CompactSerializedParts<'a>) -> bool
fn eq(&self, other: &CompactSerializedParts<'a>) -> bool
impl<'a> Copy for CompactSerializedParts<'a>
impl<'a> Eq for CompactSerializedParts<'a>
impl<'a> StructuralEq for CompactSerializedParts<'a>
impl<'a> StructuralPartialEq for CompactSerializedParts<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CompactSerializedParts<'a>
impl<'a> Send for CompactSerializedParts<'a>
impl<'a> Sync for CompactSerializedParts<'a>
impl<'a> Unpin for CompactSerializedParts<'a>
impl<'a> UnwindSafe for CompactSerializedParts<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more