pub struct InputEvent {
pub version: u32,
pub event_id: String,
pub run_id: String,
pub context_sha256: String,
pub input_revision: String,
pub target: Target,
pub phase: Phase,
pub function: Option<String>,
pub obligation: Option<String>,
pub observation: Observation,
}Expand description
Producer-side observation identity. Sequence numbers belong to the journal.
Fields§
§version: u32Always VERSION.
event_id: StringStable unique producer id, for idempotent append/reconnect.
run_id: StringEstablishing invocation.
context_sha256: StringVerification context digest.
input_revision: StringInput revision associated with the observation.
target: TargetComplete Cargo target identity.
phase: PhaseFocused or full scope.
function: Option<String>Crate-qualified function, when known authoritatively.
obligation: Option<String>Obligation identity, when known authoritatively.
observation: ObservationObserved payload; not a current complete verification claim.
Implementations§
Trait Implementations§
Source§impl Clone for InputEvent
impl Clone for InputEvent
Source§impl Debug for InputEvent
impl Debug for InputEvent
Source§impl<'de> Deserialize<'de> for InputEvent
impl<'de> Deserialize<'de> for InputEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InputEvent
impl PartialEq for InputEvent
Source§impl Serialize for InputEvent
impl Serialize for InputEvent
impl StructuralPartialEq for InputEvent
Auto Trait Implementations§
impl Forget for InputEvent
impl Freeze for InputEventwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<CheckReport>: Freeze,
PhantomData<Assignment>: Freeze,
PhantomData<ObligationReport>: Freeze,
PhantomData<DiagnosticSpan>: Freeze,
impl Move for InputEvent
impl RefUnwindSafe for InputEvent
impl Send for InputEventwhere
RawVecInner: Send,
impl Sync for InputEventwhere
RawVecInner: Sync,
impl Unpin for InputEvent
impl UnsafeUnpin for InputEventwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<CheckReport>: UnsafeUnpin,
PhantomData<Assignment>: UnsafeUnpin,
PhantomData<ObligationReport>: UnsafeUnpin,
PhantomData<DiagnosticSpan>: UnsafeUnpin,
impl UnwindSafe for InputEventwhere
RawVecInner: UnwindSafe,
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