pub struct PimdirRetention {
pub at: String,
pub by: Option<String>,
pub size: Option<u64>,
}Available on crate feature
client only.Expand description
What retention holds about an item no source binds any more (spec §11), on
the row the trash view reads (list_retained).
Only that read fills it: a live item carries None, and the two reads
are otherwise the same row, which is why they are the same type.
Fields§
§at: StringThe RFC 3339 instant the last binding vanished, not when a server deleted the item, which is unknowable. A revive clears it, so restore-then-redelete restarts the purge clock.
by: Option<String>The source whose removal retired the item; diagnostic only.
size: Option<u64>The body’s size in bytes, None alongside an absent object:
what lets a caller price a purge without a second query.
Trait Implementations§
Source§impl Clone for PimdirRetention
impl Clone for PimdirRetention
Source§fn clone(&self) -> PimdirRetention
fn clone(&self) -> PimdirRetention
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PimdirRetention
impl Debug for PimdirRetention
impl Eq for PimdirRetention
Source§impl PartialEq for PimdirRetention
impl PartialEq for PimdirRetention
impl StructuralPartialEq for PimdirRetention
Auto Trait Implementations§
impl Freeze for PimdirRetention
impl RefUnwindSafe for PimdirRetention
impl Send for PimdirRetention
impl Sync for PimdirRetention
impl Unpin for PimdirRetention
impl UnsafeUnpin for PimdirRetention
impl UnwindSafe for PimdirRetention
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