pub struct UrlReconcileObservation {
pub at_unix_ms: u64,
pub conclusive: bool,
pub urls: Option<Vec<String>>,
pub state: Option<MirrorAdvertiseState>,
}Expand description
One observation the daily detector (or a manual reconcile) made of this node’s own advertise
state — embedded in UrlReconcileStatus::last_observation.
Fields§
§at_unix_ms: u64When this observation was taken, Unix milliseconds.
conclusive: boolDid the observation reach a DEFINITE answer?
false means the node could not tell what it was advertising at the time — a chain read
failed, corroboration was mid-flight, or similar — and BOTH
urls and state are then None: an inconclusive
observation has nothing to report, and reporting a guess under either field would assert a
fact the node does not have.
urls: Option<Vec<String>>The URL(s) this node was actively advertising at observation time, when it was (Some
only while conclusive is true and the node WAS publishing something
— mutually exclusive with state, which covers the opposite case).
state: Option<MirrorAdvertiseState>Which of MirrorAdvertiseState’s non-publishing variants applied, when the node was NOT
publishing anything at observation time (mutually exclusive with
urls — see it for the same conclusive gating).
Trait Implementations§
Source§impl Clone for UrlReconcileObservation
impl Clone for UrlReconcileObservation
Source§fn clone(&self) -> UrlReconcileObservation
fn clone(&self) -> UrlReconcileObservation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more