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
Sourcepub fn to_toml_fields(&self) -> Vec<(&'static str, String)>
pub fn to_toml_fields(&self) -> Vec<(&'static str, String)>
Get field values as TOML-formatted strings
Trait Implementations§
Source§impl ClapSerde for LocalBackendConfig
impl ClapSerde for LocalBackendConfig
Source§impl Clone for LocalBackendConfig
impl Clone for LocalBackendConfig
Source§fn clone(&self) -> LocalBackendConfig
fn clone(&self) -> LocalBackendConfig
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 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 Freeze 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