pub struct SafetyStatus {
pub safety_enabled: bool,
pub current_config: Option<SafetyConfiguration>,
pub requests_processed: u64,
pub violations_detected: u64,
pub last_updated: String,
}Expand description
Safety status information
Fields§
§safety_enabled: boolWhether safety features are enabled
current_config: Option<SafetyConfiguration>Current safety configuration
requests_processed: u64Number of requests processed
violations_detected: u64Number of violations detected
last_updated: StringLast update timestamp
Trait Implementations§
Source§impl Clone for SafetyStatus
impl Clone for SafetyStatus
Source§fn clone(&self) -> SafetyStatus
fn clone(&self) -> SafetyStatus
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 SafetyStatus
impl Debug for SafetyStatus
Source§impl<'de> Deserialize<'de> for SafetyStatus
impl<'de> Deserialize<'de> for SafetyStatus
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
Auto Trait Implementations§
impl Freeze for SafetyStatus
impl RefUnwindSafe for SafetyStatus
impl Send for SafetyStatus
impl Sync for SafetyStatus
impl Unpin for SafetyStatus
impl UnwindSafe for SafetyStatus
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