Struct drawbridge::jose::jws::Signature
source · pub struct Signature<P = Parameters, H = P> {
pub protected: Option<Json<P>>,
pub header: Option<H>,
pub signature: Bytes<Vec<u8>, UrlSafeNoPad>,
}
Fields§
§protected: Option<Json<P>>
§header: Option<H>
§signature: Bytes<Vec<u8>, UrlSafeNoPad>
Trait Implementations§
source§impl<'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>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Signature<P, H>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Signature<P, H>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<P, H> PartialEq for Signature<P, H>
impl<P, H> PartialEq for Signature<P, H>
source§impl<P, H> Serialize for Signature<P, H>
impl<P, H> Serialize for Signature<P, H>
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<P, H> Eq for Signature<P, H>
impl<P, H> StructuralPartialEq for Signature<P, H>
Auto Trait Implementations§
impl<P, H> Freeze for Signature<P, H>
impl<P, H> RefUnwindSafe for Signature<P, H>where
H: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, H> Send for Signature<P, H>
impl<P, H> Sync for Signature<P, H>
impl<P, H> Unpin for Signature<P, H>
impl<P, H> UnwindSafe for Signature<P, H>where
H: UnwindSafe,
P: UnwindSafe,
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