pub struct RedisDbSettings {
pub timeout: Option<Duration>,
pub router_ttl: Option<Duration>,
pub notification_ttl: Option<Duration>,
}Expand description
The settings for accessing the redis contents.
Fields§
§timeout: Option<Duration>§router_ttl: Option<Duration>§notification_ttl: Option<Duration>Trait Implementations§
Source§impl Clone for RedisDbSettings
impl Clone for RedisDbSettings
Source§fn clone(&self) -> RedisDbSettings
fn clone(&self) -> RedisDbSettings
Returns a duplicate 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 moreSource§impl Debug for RedisDbSettings
impl Debug for RedisDbSettings
Source§impl Default for RedisDbSettings
impl Default for RedisDbSettings
Source§impl<'de> Deserialize<'de> for RedisDbSettings
impl<'de> Deserialize<'de> for RedisDbSettings
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 RedisDbSettings
impl RefUnwindSafe for RedisDbSettings
impl Send for RedisDbSettings
impl Sync for RedisDbSettings
impl Unpin for RedisDbSettings
impl UnwindSafe for RedisDbSettings
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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