pub struct Guardrail {
pub name: String,
pub description: String,
pub active: bool,
pub triggered_count: u32,
}Fields§
§name: String§description: String§active: bool§triggered_count: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Guardrail
impl<'de> Deserialize<'de> for Guardrail
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 Guardrail
impl RefUnwindSafe for Guardrail
impl Send for Guardrail
impl Sync for Guardrail
impl Unpin for Guardrail
impl UnsafeUnpin for Guardrail
impl UnwindSafe for Guardrail
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