pub struct GuardrailRule {
pub id: String,
pub pattern: String,
pub action: GuardrailAction,
pub redaction: String,
}Fields§
§id: String§pattern: String§action: GuardrailAction§redaction: StringTrait Implementations§
Source§impl Clone for GuardrailRule
impl Clone for GuardrailRule
Source§fn clone(&self) -> GuardrailRule
fn clone(&self) -> GuardrailRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GuardrailRule
impl Debug for GuardrailRule
Source§impl<'de> Deserialize<'de> for GuardrailRule
impl<'de> Deserialize<'de> for GuardrailRule
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
impl Eq for GuardrailRule
Source§impl PartialEq for GuardrailRule
impl PartialEq for GuardrailRule
Source§impl Serialize for GuardrailRule
impl Serialize for GuardrailRule
impl StructuralPartialEq for GuardrailRule
Auto Trait Implementations§
impl Freeze for GuardrailRule
impl RefUnwindSafe for GuardrailRule
impl Send for GuardrailRule
impl Sync for GuardrailRule
impl Unpin for GuardrailRule
impl UnsafeUnpin for GuardrailRule
impl UnwindSafe for GuardrailRule
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