pub struct BackupEdit {
pub name: Option<String>,
pub spaces: Option<Vec<SpaceId>>,
pub policies: Option<Vec<EntityId>>,
pub away: Option<bool>,
pub waits: Option<Option<u64>>,
}Expand description
What to change of a backup: each value given replaces what it had.
Fields§
§name: Option<String>A new name.
spaces: Option<Vec<SpaceId>>The spaces it holds from now on.
policies: Option<Vec<EntityId>>The policies whose files it keeps from now on; none for every policy’s.
away: Option<bool>Whether it is kept away from home.
waits: Option<Option<u64>>How many days it waits before purging, 0 for none, or Some(None) for the default.
Trait Implementations§
Source§impl Clone for BackupEdit
impl Clone for BackupEdit
Source§impl Debug for BackupEdit
impl Debug for BackupEdit
Source§impl Default for BackupEdit
impl Default for BackupEdit
impl Eq for BackupEdit
Source§impl PartialEq for BackupEdit
impl PartialEq for BackupEdit
impl StructuralPartialEq for BackupEdit
Auto Trait Implementations§
impl Forget for BackupEdit
impl Freeze for BackupEdit
impl Move for BackupEdit
impl RefUnwindSafe for BackupEdit
impl Send for BackupEdit
impl Sync for BackupEdit
impl Unpin for BackupEdit
impl UnsafeUnpin for BackupEdit
impl UnwindSafe for BackupEdit
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.