Struct tiedcrossing_jose::jws::General
source · [−]pub struct General<P = Parameters, H = P> {
pub payload: Option<Bytes>,
pub signatures: Vec<Signature<P, H>>,
}
Fields
payload: Option<Bytes>
signatures: Vec<Signature<P, H>>
Trait Implementations
sourceimpl<'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>,
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 General<P, H>
impl<P, H> StructuralEq for General<P, H>
impl<P, H> StructuralPartialEq for General<P, H>
Auto Trait Implementations
impl<P, H> RefUnwindSafe for General<P, H> where
H: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, H> Send for General<P, H> where
H: Send,
P: Send,
impl<P, H> Sync for General<P, H> where
H: Sync,
P: Sync,
impl<P, H> Unpin for General<P, H> where
H: Unpin,
P: Unpin,
impl<P, H> UnwindSafe for General<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