pub struct ResolvedReasoningGuardConfig {
pub enabled: bool,
pub reasoning_equals: Vec<i64>,
pub paths: Vec<String>,
pub action: ReasoningGuardAction,
pub stream_mode: ReasoningGuardStreamMode,
pub max_guard_retries: u32,
pub log_matches: bool,
}Fields§
§enabled: bool§reasoning_equals: Vec<i64>§paths: Vec<String>§action: ReasoningGuardAction§stream_mode: ReasoningGuardStreamMode§max_guard_retries: u32§log_matches: boolTrait Implementations§
Source§impl Clone for ResolvedReasoningGuardConfig
impl Clone for ResolvedReasoningGuardConfig
Source§fn clone(&self) -> ResolvedReasoningGuardConfig
fn clone(&self) -> ResolvedReasoningGuardConfig
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 ResolvedReasoningGuardConfig
impl Debug for ResolvedReasoningGuardConfig
Source§impl<'de> Deserialize<'de> for ResolvedReasoningGuardConfig
impl<'de> Deserialize<'de> for ResolvedReasoningGuardConfig
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 ResolvedReasoningGuardConfig
Source§impl PartialEq for ResolvedReasoningGuardConfig
impl PartialEq for ResolvedReasoningGuardConfig
Source§fn eq(&self, other: &ResolvedReasoningGuardConfig) -> bool
fn eq(&self, other: &ResolvedReasoningGuardConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedReasoningGuardConfig
Auto Trait Implementations§
impl Freeze for ResolvedReasoningGuardConfig
impl RefUnwindSafe for ResolvedReasoningGuardConfig
impl Send for ResolvedReasoningGuardConfig
impl Sync for ResolvedReasoningGuardConfig
impl Unpin for ResolvedReasoningGuardConfig
impl UnsafeUnpin for ResolvedReasoningGuardConfig
impl UnwindSafe for ResolvedReasoningGuardConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.