pub struct CableSettings {
pub backend: Backend,
pub ping_interval: Option<u64>,
pub mount_path: Option<String>,
pub redis: Option<RedisSettings>,
}Expand description
Parsed cable section, before defaults are applied.
Fields§
§backend: Backend§ping_interval: Option<u64>§mount_path: Option<String>§redis: Option<RedisSettings>Implementations§
Source§impl CableSettings
impl CableSettings
pub fn into_config(self) -> CableConfig
Trait Implementations§
Source§impl Clone for CableSettings
impl Clone for CableSettings
Source§fn clone(&self) -> CableSettings
fn clone(&self) -> CableSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CableSettings
impl Debug for CableSettings
Source§impl Default for CableSettings
impl Default for CableSettings
Source§fn default() -> CableSettings
fn default() -> CableSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CableSettings
impl<'de> Deserialize<'de> for CableSettings
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 CableSettings
impl RefUnwindSafe for CableSettings
impl Send for CableSettings
impl Sync for CableSettings
impl Unpin for CableSettings
impl UnsafeUnpin for CableSettings
impl UnwindSafe for CableSettings
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