pub struct OutputGuardrailConfig {
pub mode: OutputGuardrailMode,
}Expand description
Output guardrail configuration block.
Fields§
§mode: OutputGuardrailModeTrait Implementations§
Source§impl Clone for OutputGuardrailConfig
impl Clone for OutputGuardrailConfig
Source§fn clone(&self) -> OutputGuardrailConfig
fn clone(&self) -> OutputGuardrailConfig
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 moreimpl Copy for OutputGuardrailConfig
Source§impl Debug for OutputGuardrailConfig
impl Debug for OutputGuardrailConfig
Source§impl Default for OutputGuardrailConfig
impl Default for OutputGuardrailConfig
Source§fn default() -> OutputGuardrailConfig
fn default() -> OutputGuardrailConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputGuardrailConfig
impl<'de> Deserialize<'de> for OutputGuardrailConfig
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 OutputGuardrailConfig
impl RefUnwindSafe for OutputGuardrailConfig
impl Send for OutputGuardrailConfig
impl Sync for OutputGuardrailConfig
impl Unpin for OutputGuardrailConfig
impl UnsafeUnpin for OutputGuardrailConfig
impl UnwindSafe for OutputGuardrailConfig
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