Struct drawbridge::jose::jws::General
source · pub struct General<P = Parameters, H = P> {
pub payload: Option<Bytes<Vec<u8>, UrlSafeNoPad>>,
pub signatures: Vec<Signature<P, H>>,
}
Fields§
§payload: Option<Bytes<Vec<u8>, UrlSafeNoPad>>
§signatures: Vec<Signature<P, H>>
Trait Implementations§
source§impl<'de, P, H> Deserialize<'de> for General<P, H>where
P: DeserializeOwned,
H: Deserialize<'de>,
impl<'de, P, H> Deserialize<'de> for General<P, H>where
P: DeserializeOwned,
H: Deserialize<'de>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<General<P, H>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<General<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 General<P, H>
impl<P, H> PartialEq for General<P, H>
source§impl<P, H> Serialize for General<P, H>
impl<P, H> Serialize for General<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 General<P, H>
impl<P, H> StructuralPartialEq for General<P, H>
Auto Trait Implementations§
impl<P, H> Freeze for General<P, H>
impl<P, H> RefUnwindSafe for General<P, H>where
H: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, H> Send for General<P, H>
impl<P, H> Sync for General<P, H>
impl<P, H> Unpin for General<P, H>
impl<P, H> UnwindSafe for General<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