pub struct SafetySignal {
pub category: SafetyCategory,
pub description: String,
pub severity: f64,
}Expand description
Safety signal detected during evaluation.
Fields§
§category: SafetyCategoryThe category of the safety concern.
description: StringDescription of the signal.
severity: f64Severity score (0.0 = benign, 1.0 = severe).
Trait Implementations§
Source§impl Clone for SafetySignal
impl Clone for SafetySignal
Source§fn clone(&self) -> SafetySignal
fn clone(&self) -> SafetySignal
Returns a duplicate of the value. Read more
1.0.0 · 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 SafetySignal
impl RefUnwindSafe for SafetySignal
impl Send for SafetySignal
impl Sync for SafetySignal
impl Unpin for SafetySignal
impl UnwindSafe for SafetySignal
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