pub struct FileCandidate {
pub device: DeviceId,
pub object: ObjectId,
pub protected: bool,
pub since: Slot,
}Expand description
A fixed file path awaiting a storage-deletion decision (§17.10).
Fields§
§device: DeviceIdThe uploader named by its path.
object: ObjectIdThe stored object’s id, the last part of its path.
protected: boolA local row, loss, published row, queued write or upload still names it.
since: SlotThis device’s applied slot when the path last lost its local protection, or a later one: a write that read through it saw every change that left the path unnamed (§17.10).
Trait Implementations§
Source§impl Clone for FileCandidate
impl Clone for FileCandidate
Source§fn clone(&self) -> FileCandidate
fn clone(&self) -> FileCandidate
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 FileCandidate
impl Debug for FileCandidate
Source§impl PartialEq for FileCandidate
impl PartialEq for FileCandidate
impl Copy for FileCandidate
impl Eq for FileCandidate
impl StructuralPartialEq for FileCandidate
Auto Trait Implementations§
impl Freeze for FileCandidate
impl RefUnwindSafe for FileCandidate
impl Send for FileCandidate
impl Sync for FileCandidate
impl Unpin for FileCandidate
impl UnsafeUnpin for FileCandidate
impl UnwindSafe for FileCandidate
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.