Struct itsdangerous::UnverifiedTimedValue
source · [−]pub struct UnverifiedTimedValue<'a, T> { /* private fields */ }
Implementations
sourceimpl<'a, T: DeserializeOwned> UnverifiedTimedValue<'a, T>
impl<'a, T: DeserializeOwned> UnverifiedTimedValue<'a, T>
pub fn from_str<TEncoding: Encoding>(
separator: Separator,
encoding: TEncoding,
input: &'a str
) -> Result<Self, BadTimedSignature<'_>>
pub fn unverified_value(&self) -> &T
pub fn unverified_timestamp(&self) -> SystemTime
pub fn verify<TSigner: TimestampSigner + AsSigner>(
self,
timestamp_signer: &TSigner
) -> Result<UnsignedTimedSerializerValue<T>, BadTimedSignature<'a>>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for UnverifiedTimedValue<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for UnverifiedTimedValue<'a, T> where
T: Send,
impl<'a, T> Sync for UnverifiedTimedValue<'a, T> where
T: Sync,
impl<'a, T> Unpin for UnverifiedTimedValue<'a, T> where
T: Unpin,
impl<'a, T> UnwindSafe for UnverifiedTimedValue<'a, T> where
T: 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