Struct tiedcrossing_jose::jws::Signature
source · [−]pub struct Signature<P = Parameters, H = P> {
pub protected: Option<Json<P>>,
pub header: Option<H>,
pub signature: Bytes,
}
Fields
protected: Option<Json<P>>
header: Option<H>
signature: Bytes
Trait Implementations
sourceimpl<'de, P, H> Deserialize<'de> for Signature<P, H> where
P: DeserializeOwned,
H: Deserialize<'de>,
impl<'de, P, H> Deserialize<'de> for Signature<P, H> where
P: DeserializeOwned,
H: Deserialize<'de>,
sourcefn 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
impl<P: Eq, H: Eq> Eq for Signature<P, H>
impl<P, H> StructuralEq for Signature<P, H>
impl<P, H> StructuralPartialEq for Signature<P, H>
Auto Trait Implementations
impl<P, H> RefUnwindSafe for Signature<P, H> where
H: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, H> Send for Signature<P, H> where
H: Send,
P: Send,
impl<P, H> Sync for Signature<P, H> where
H: Sync,
P: Sync,
impl<P, H> Unpin for Signature<P, H> where
H: Unpin,
P: Unpin,
impl<P, H> UnwindSafe for Signature<P, H> where
H: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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