pub struct CertifierConfig {
pub safe_threshold: f64,
pub caution_threshold: f64,
pub block_threshold: f64,
pub warning_margin_threshold: f64,
}Expand description
Configuration for the safety certifier.
Fields§
§safe_threshold: f64Margin threshold above which the action is in the Safe zone.
caution_threshold: f64Margin threshold above which the action is in the Caution zone.
block_threshold: f64Margin threshold at or below which the action is Blocked.
warning_margin_threshold: f64Margin threshold below which warnings are generated for individual channels.
Trait Implementations§
Source§impl Clone for CertifierConfig
impl Clone for CertifierConfig
Source§fn clone(&self) -> CertifierConfig
fn clone(&self) -> CertifierConfig
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 moreSource§impl Debug for CertifierConfig
impl Debug for CertifierConfig
Auto Trait Implementations§
impl Freeze for CertifierConfig
impl RefUnwindSafe for CertifierConfig
impl Send for CertifierConfig
impl Sync for CertifierConfig
impl Unpin for CertifierConfig
impl UnsafeUnpin for CertifierConfig
impl UnwindSafe for CertifierConfig
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