pub struct AesOptions { /* private fields */ }
Implementations§
Source§impl AesOptions
impl AesOptions
pub fn with_expire_second(expire: i64) -> Self
pub fn with_expire_date(expire: DateTime<Utc>) -> Self
pub fn build(self) -> AesOptions
Trait Implementations§
Source§impl Debug for AesOptions
impl Debug for AesOptions
Source§impl<'de> Deserialize<'de> for AesOptions
impl<'de> Deserialize<'de> for AesOptions
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
Auto Trait Implementations§
impl Freeze for AesOptions
impl RefUnwindSafe for AesOptions
impl Send for AesOptions
impl Sync for AesOptions
impl Unpin for AesOptions
impl UnwindSafe for AesOptions
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