pub struct StoreConfig {
pub store_type: StoreType,
}Expand description
Configuration passed to Factory::create_store.
§Examples
use actix_jwt::store::factory::{StoreConfig, StoreType};
let config = StoreConfig::default();
assert_eq!(config.store_type, StoreType::Memory);Fields§
§store_type: StoreTypeWhich backend to instantiate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StoreConfig
impl RefUnwindSafe for StoreConfig
impl Send for StoreConfig
impl Sync for StoreConfig
impl Unpin for StoreConfig
impl UnsafeUnpin for StoreConfig
impl UnwindSafe for StoreConfig
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