pub struct OtpConfig {
pub secret: String,
pub crypto: CryptoService,
pub redis: RedisManager,
}Fields§
§secret: String§crypto: CryptoService§redis: RedisManagerTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OtpConfig
impl !UnwindSafe for OtpConfig
impl Freeze for OtpConfig
impl Send for OtpConfig
impl Sync for OtpConfig
impl Unpin for OtpConfig
impl UnsafeUnpin for OtpConfig
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