Struct authzen_session::RedisStoreConfig
source · pub struct RedisStoreConfig<KN, K, U, P> {
pub key_name: KN,
pub key: K,
pub username: Option<U>,
pub password: Option<P>,
}Fields§
§key_name: KN§key: K§username: Option<U>§password: Option<P>Implementations§
source§impl<KN, K, U, P> RedisStoreConfig<KN, K, U, P>
impl<KN, K, U, P> RedisStoreConfig<KN, K, U, P>
sourcepub fn builder() -> RedisStoreConfigBuilder<((), (), (), ()), KN, K, U, P>
pub fn builder() -> RedisStoreConfigBuilder<((), (), (), ()), KN, K, U, P>
Create a builder for building RedisStoreConfig.
On the builder, call .key_name(...), .key(...), .username(...), .password(...) to set the values of the fields.
Finally, call .build() to create the instance of RedisStoreConfig.
Trait Implementations§
source§impl<KN: Clone, K: Clone, U: Clone, P: Clone> Clone for RedisStoreConfig<KN, K, U, P>
impl<KN: Clone, K: Clone, U: Clone, P: Clone> Clone for RedisStoreConfig<KN, K, U, P>
source§fn clone(&self) -> RedisStoreConfig<KN, K, U, P>
fn clone(&self) -> RedisStoreConfig<KN, K, U, P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more