pub struct MirrorOrigin {
pub machine: String,
pub exported_at: Option<String>,
pub age_hours: Option<f64>,
pub is_stale: bool,
pub threshold_hours: i64,
}Expand description
The mirror a decision arrived over, and how dead it was.
Fields§
§machine: StringExporting machine from the mirror’s INDEX.md, or the directory name
when the stamp named none.
exported_at: Option<String>The - **Exported at**: stamp freshness was judged against: the mirror
in this checkout when that mirror is Self::machine’s own,
otherwise the stamp this row was imported under. Another machine’s
mirror — including this box’s own re-export — never speaks for a peer’s
rulings. Absent when neither could be read.
age_hours: Option<f64>Age of that stamp in hours at query time; None when unparseable.
is_stale: bool§threshold_hours: i64Trait Implementations§
Source§impl Clone for MirrorOrigin
impl Clone for MirrorOrigin
Source§fn clone(&self) -> MirrorOrigin
fn clone(&self) -> MirrorOrigin
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 MirrorOrigin
impl Debug for MirrorOrigin
Auto Trait Implementations§
impl Freeze for MirrorOrigin
impl RefUnwindSafe for MirrorOrigin
impl Send for MirrorOrigin
impl Sync for MirrorOrigin
impl Unpin for MirrorOrigin
impl UnsafeUnpin for MirrorOrigin
impl UnwindSafe for MirrorOrigin
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