pub struct ProbeContext {
pub cell_id: String,
pub run_id: String,
pub spec_signature_hash: String,
}Expand description
Per-cell context every host probe needs to attribute its readings.
Mirrors the host-stamped attribution fields ADR-0006 §6 declares
non-negotiable. cell_id and run_id come from the supervisor at cell
creation; spec_signature_hash is the canonical sha256 of the spec the
cell was admitted under (matches events::canonical_spec_hash shape).
Fields§
§cell_id: StringPer-run cell identifier.
run_id: StringPer-run identifier.
spec_signature_hash: Stringsha256:... digest of the spec admitted for this run.
Implementations§
Trait Implementations§
Source§impl Clone for ProbeContext
impl Clone for ProbeContext
Source§fn clone(&self) -> ProbeContext
fn clone(&self) -> ProbeContext
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 moreAuto Trait Implementations§
impl Freeze for ProbeContext
impl RefUnwindSafe for ProbeContext
impl Send for ProbeContext
impl Sync for ProbeContext
impl Unpin for ProbeContext
impl UnsafeUnpin for ProbeContext
impl UnwindSafe for ProbeContext
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