[−][src]Struct bundled_crypto::token::paseto::token::SerializedData
Represents the Data
struct, but serialized.
Fields
msg: Vec<u8>
The message to be sent.
The footer to be sent.
Methods
impl SerializedData
[src]
pub fn deserialize<M: DeserializeOwned, F: DeserializeOwned>(
self
) -> Result<Data<M, F>, DeserializeError>
[src]
self
) -> Result<Data<M, F>, DeserializeError>
Deserialize the SerializedData
into the Data
struct.
Trait Implementations
impl<M: DeserializeOwned, F: DeserializeOwned> TryFrom<SerializedData> for Data<M, F>
[src]
type Error = DeserializeError
The type returned in the event of a conversion error.
fn try_from(tok: SerializedData) -> Result<Self, Self::Error>
[src]
impl<M: Serialize, F: Serialize> TryFrom<Data<M, F>> for SerializedData
[src]
Auto Trait Implementations
impl Send for SerializedData
impl Unpin for SerializedData
impl Sync for SerializedData
impl UnwindSafe for SerializedData
impl RefUnwindSafe for SerializedData
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,