pub struct LocalBackendConfig {
pub path: String,
}Expand description
Local backend configuration
Fields§
§path: StringPath to local storage directory
Implementations§
Source§impl LocalBackendConfig
impl LocalBackendConfig
Sourcepub fn field_docs() -> &'static [(&'static str, &'static str)]
pub fn field_docs() -> &'static [(&'static str, &'static str)]
Get documentation for all fields Returns an array of (field_name, documentation) tuples
Sourcepub fn struct_doc() -> &'static str
pub fn struct_doc() -> &'static str
Get struct-level documentation
Trait Implementations§
Source§impl ClapSerde for LocalBackendConfig
impl ClapSerde for LocalBackendConfig
Source§type Opt = ClapSerdeOptionalLocalBackendConfig
type Opt = ClapSerdeOptionalLocalBackendConfig
The same struct of the parent but with optional fields.
Source§fn update(&mut self, other: impl BorrowMut<Self::Opt>)
fn update(&mut self, other: impl BorrowMut<Self::Opt>)
Merge in place from Opt struct. Read more
Source§fn merge_clap(self) -> Self
fn merge_clap(self) -> Self
Merge from clap to the object.
Source§fn merge_clap_with_args<I, T>(self, itr: I) -> Self
fn merge_clap_with_args<I, T>(self, itr: I) -> Self
Merge from clap to the object with the given args
Source§fn from_clap_with_args<I, T>(itr: I) -> Self
fn from_clap_with_args<I, T>(itr: I) -> Self
Create new object parsing from clap with the given args
Source§impl Clone for LocalBackendConfig
impl Clone for LocalBackendConfig
Source§impl Debug for LocalBackendConfig
impl Debug for LocalBackendConfig
Source§impl Default for LocalBackendConfig
impl Default for LocalBackendConfig
Source§impl<'de> Deserialize<'de> for LocalBackendConfig
impl<'de> Deserialize<'de> for LocalBackendConfig
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
Source§impl From<&mut <LocalBackendConfig as ClapSerde>::Opt> for LocalBackendConfig
impl From<&mut <LocalBackendConfig as ClapSerde>::Opt> for LocalBackendConfig
Source§impl From<<LocalBackendConfig as ClapSerde>::Opt> for LocalBackendConfig
impl From<<LocalBackendConfig as ClapSerde>::Opt> for LocalBackendConfig
Auto Trait Implementations§
impl Forget for LocalBackendConfig
impl Freeze for LocalBackendConfig
impl Move for LocalBackendConfig
impl RefUnwindSafe for LocalBackendConfig
impl Send for LocalBackendConfig
impl Sync for LocalBackendConfig
impl Unpin for LocalBackendConfig
impl UnsafeUnpin for LocalBackendConfig
impl UnwindSafe for LocalBackendConfig
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