Struct conserve::show::ShowVersionsOptions
source · pub struct ShowVersionsOptions {
pub newest_first: bool,
pub tree_size: bool,
pub start_time: bool,
pub backup_duration: bool,
pub timezone: Option<UtcOffset>,
}
Expand description
Options controlling the behavior of show_versions
.
Fields§
§newest_first: bool
Show versions in LIFO order by band_id.
tree_size: bool
Show the total size of files in the tree. This is slower because it requires walking the whole index.
start_time: bool
Show the date and time that each backup started.
backup_duration: bool
Show how much time the backup took, or “incomplete” if it never finished.
timezone: Option<UtcOffset>
Show times in this zone.
Trait Implementations§
source§impl Clone for ShowVersionsOptions
impl Clone for ShowVersionsOptions
source§fn clone(&self) -> ShowVersionsOptions
fn clone(&self) -> ShowVersionsOptions
Returns a copy 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 Default for ShowVersionsOptions
impl Default for ShowVersionsOptions
source§fn default() -> ShowVersionsOptions
fn default() -> ShowVersionsOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for ShowVersionsOptions
impl PartialEq for ShowVersionsOptions
source§fn eq(&self, other: &ShowVersionsOptions) -> bool
fn eq(&self, other: &ShowVersionsOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ShowVersionsOptions
impl StructuralEq for ShowVersionsOptions
impl StructuralPartialEq for ShowVersionsOptions
Auto Trait Implementations§
impl RefUnwindSafe for ShowVersionsOptions
impl Send for ShowVersionsOptions
impl Sync for ShowVersionsOptions
impl Unpin for ShowVersionsOptions
impl UnwindSafe for ShowVersionsOptions
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
§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