pub struct PolicyCheck {
pub policies: Vec<PolicyCount>,
pub disks: Vec<Disk>,
pub changes: ChangeCopies,
pub files: Vec<CheckedFile>,
}Expand description
What a policy needs, in policy check order, and the files that do not meet it, with copies counted by disk across devices (technical design: where the copies are).
Fields§
§policies: Vec<PolicyCount>Each policy that a file is chosen for, by name, and the files that no rule chooses for last.
disks: Vec<Disk>The disks that hold copies, this replica’s first, as their replicas’ accounts say.
changes: ChangeCopiesHow the space’s changes are held.
files: Vec<CheckedFile>Each file counted, in the order checked: how its copies meet its policy, for an app to list them all.
Trait Implementations§
Source§impl Clone for PolicyCheck
impl Clone for PolicyCheck
Source§impl Debug for PolicyCheck
impl Debug for PolicyCheck
Source§impl Default for PolicyCheck
impl Default for PolicyCheck
impl Eq for PolicyCheck
Source§impl PartialEq for PolicyCheck
impl PartialEq for PolicyCheck
impl StructuralPartialEq for PolicyCheck
Auto Trait Implementations§
impl Forget for PolicyCheck
impl Freeze for PolicyCheck
impl Move for PolicyCheck
impl RefUnwindSafe for PolicyCheck
impl Send for PolicyCheck
impl Sync for PolicyCheck
impl Unpin for PolicyCheck
impl UnsafeUnpin for PolicyCheck
impl UnwindSafe for PolicyCheck
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.