pub struct ReliabilityEventInput {
pub level: LogLevel,
pub phase: ReliabilityPhase,
pub scenario_id: String,
pub message: String,
pub context: ReliabilityContext,
pub artifact_paths: Vec<String>,
}Expand description
Input contract for emitting reliability phase events.
Fields§
§level: LogLevel§phase: ReliabilityPhase§scenario_id: String§message: String§context: ReliabilityContext§artifact_paths: Vec<String>Implementations§
Source§impl ReliabilityEventInput
impl ReliabilityEventInput
Sourcepub fn with_decision(
phase: ReliabilityPhase,
scenario_id: impl Into<String>,
message: impl Into<String>,
decision_code: impl Into<String>,
) -> Self
pub fn with_decision( phase: ReliabilityPhase, scenario_id: impl Into<String>, message: impl Into<String>, decision_code: impl Into<String>, ) -> Self
Convenience constructor for phase+scenario+decision-only events.
Trait Implementations§
Source§impl Clone for ReliabilityEventInput
impl Clone for ReliabilityEventInput
Source§fn clone(&self) -> ReliabilityEventInput
fn clone(&self) -> ReliabilityEventInput
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 ReliabilityEventInput
impl RefUnwindSafe for ReliabilityEventInput
impl Send for ReliabilityEventInput
impl Sync for ReliabilityEventInput
impl Unpin for ReliabilityEventInput
impl UnsafeUnpin for ReliabilityEventInput
impl UnwindSafe for ReliabilityEventInput
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