pub struct FileBackendOptions {
pub namespace: String,
pub extension: String,
}Expand description
FileBackendOptions data container.
Fields§
§namespace: Stringnamespace field for namespace.
extension: Stringextension field for extension.
Implementations§
Source§impl FileBackendOptions
impl FileBackendOptions
Sourcepub fn with_namespace(self, namespace: impl Into<String>) -> Self
pub fn with_namespace(self, namespace: impl Into<String>) -> Self
Updates or reads with_namespace.
Sourcepub fn with_extension(self, extension: impl Into<String>) -> Self
pub fn with_extension(self, extension: impl Into<String>) -> Self
Updates or reads with_extension.
Trait Implementations§
Source§impl Clone for FileBackendOptions
impl Clone for FileBackendOptions
Source§fn clone(&self) -> FileBackendOptions
fn clone(&self) -> FileBackendOptions
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 FileBackendOptions
impl Debug for FileBackendOptions
Source§impl Default for FileBackendOptions
impl Default for FileBackendOptions
Source§impl PartialEq for FileBackendOptions
impl PartialEq for FileBackendOptions
impl Eq for FileBackendOptions
impl StructuralPartialEq for FileBackendOptions
Auto Trait Implementations§
impl Freeze for FileBackendOptions
impl RefUnwindSafe for FileBackendOptions
impl Send for FileBackendOptions
impl Sync for FileBackendOptions
impl Unpin for FileBackendOptions
impl UnsafeUnpin for FileBackendOptions
impl UnwindSafe for FileBackendOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.