pub struct RiskFactor {
pub risk_type: RiskType,
pub severity: f32,
pub contributing_neurons: Vec<(usize, usize)>,
pub evidence: String,
}Expand description
Risk factor in safety analysis
Fields§
§risk_type: RiskTypeRisk type
severity: f32Severity (0-1)
contributing_neurons: Vec<(usize, usize)>Neurons contributing to this risk
evidence: StringEvidence from activations
Trait Implementations§
Source§impl Clone for RiskFactor
impl Clone for RiskFactor
Source§fn clone(&self) -> RiskFactor
fn clone(&self) -> RiskFactor
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 RiskFactor
impl RefUnwindSafe for RiskFactor
impl Send for RiskFactor
impl Sync for RiskFactor
impl Unpin for RiskFactor
impl UnwindSafe for RiskFactor
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