pub struct FileAppendLogOptions {
pub backend: FileBackendOptions,
pub prefix: String,
}Expand description
FileAppendLogOptions data container.
Fields§
§backend: FileBackendOptionsbackend field for backend.
prefix: Stringprefix field for prefix.
Implementations§
Source§impl FileAppendLogOptions
impl FileAppendLogOptions
Sourcepub fn with_backend(self, backend: FileBackendOptions) -> Self
pub fn with_backend(self, backend: FileBackendOptions) -> Self
Updates or reads with_backend.
Sourcepub fn with_prefix(self, prefix: impl Into<String>) -> Self
pub fn with_prefix(self, prefix: impl Into<String>) -> Self
Updates or reads with_prefix.
Trait Implementations§
Source§impl Clone for FileAppendLogOptions
impl Clone for FileAppendLogOptions
Source§fn clone(&self) -> FileAppendLogOptions
fn clone(&self) -> FileAppendLogOptions
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 FileAppendLogOptions
impl Debug for FileAppendLogOptions
Source§impl Default for FileAppendLogOptions
impl Default for FileAppendLogOptions
Source§impl PartialEq for FileAppendLogOptions
impl PartialEq for FileAppendLogOptions
impl Eq for FileAppendLogOptions
impl StructuralPartialEq for FileAppendLogOptions
Auto Trait Implementations§
impl Freeze for FileAppendLogOptions
impl RefUnwindSafe for FileAppendLogOptions
impl Send for FileAppendLogOptions
impl Sync for FileAppendLogOptions
impl Unpin for FileAppendLogOptions
impl UnsafeUnpin for FileAppendLogOptions
impl UnwindSafe for FileAppendLogOptions
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.