pub struct NewBackup {
pub name: String,
pub spaces: Vec<SpaceId>,
pub policies: Vec<EntityId>,
pub away: bool,
pub waits: Option<u64>,
}Expand description
What a new backup holds.
Fields§
§name: StringIts name.
spaces: Vec<SpaceId>The spaces it holds; none for every space of the library.
policies: Vec<EntityId>The policies whose files it keeps; none for every policy’s.
away: boolWhether it is kept away from home.
waits: Option<u64>How many days it waits before purging, 0 for none; without it, 30.
Trait Implementations§
impl Eq for NewBackup
impl StructuralPartialEq for NewBackup
Auto Trait Implementations§
impl Forget for NewBackup
impl Freeze for NewBackup
impl Move for NewBackup
impl RefUnwindSafe for NewBackup
impl Send for NewBackup
impl Sync for NewBackup
impl Unpin for NewBackup
impl UnsafeUnpin for NewBackup
impl UnwindSafe for NewBackup
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.