pub struct Jws {
pub payload: String,
pub signatures: Vec<JwsSignature>,
}Fields§
§payload: String§signatures: Vec<JwsSignature>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Jws
impl<'de> Deserialize<'de> for Jws
Source§fn 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
Source§impl<T: DeserializeOwned + Send + 'static> Unpackable<Jws, T> for Jws
Implement Unpackable for JWS
impl<T: DeserializeOwned + Send + 'static> Unpackable<Jws, T> for Jws
Implement Unpackable for JWS
Source§fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jws,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
_options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jws,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
_options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Unpack the object from its secure format
Source§impl Unpackable<Jws, UnpackedMessage> for Jws
Implement Unpackable for JWS to UnpackedMessage
impl Unpackable<Jws, UnpackedMessage> for Jws
Implement Unpackable for JWS to UnpackedMessage
Source§fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jws,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<UnpackedMessage>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
fn unpack<'life0, 'life1, 'async_trait>(
packed_message: &'life0 Jws,
key_manager: &'life1 (impl 'async_trait + KeyManagerPacking + ?Sized),
options: UnpackOptions,
) -> Pin<Box<dyn Future<Output = Result<UnpackedMessage>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Unpack the object from its secure format
Auto Trait Implementations§
impl Freeze for Jws
impl RefUnwindSafe for Jws
impl Send for Jws
impl Sync for Jws
impl Unpin for Jws
impl UnwindSafe for Jws
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