pub enum ConfigOption {
Model,
Temperature,
ReasoningEffort,
MaxOutputTokens,
Stop,
ResponseFormat,
ContinuationPolicy,
Deadline,
Extensions,
}Expand description
Named configuration option for policy checks.
Variants§
Model
Model id.
Temperature
Temperature.
ReasoningEffort
Reasoning effort.
MaxOutputTokens
Max output tokens.
Stop
Stop sequences.
ResponseFormat
Response format.
ContinuationPolicy
Continuation policy.
Deadline
Deadline.
Extensions
Extensions map.
Trait Implementations§
Source§impl Clone for ConfigOption
impl Clone for ConfigOption
Source§fn clone(&self) -> ConfigOption
fn clone(&self) -> ConfigOption
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 ConfigOption
Source§impl Debug for ConfigOption
impl Debug for ConfigOption
Source§impl<'de> Deserialize<'de> for ConfigOption
impl<'de> Deserialize<'de> for ConfigOption
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 ConfigOption
Source§impl Hash for ConfigOption
impl Hash for ConfigOption
Source§impl Ord for ConfigOption
impl Ord for ConfigOption
Source§fn cmp(&self, other: &ConfigOption) -> Ordering
fn cmp(&self, other: &ConfigOption) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConfigOption
impl PartialEq for ConfigOption
Source§impl PartialOrd for ConfigOption
impl PartialOrd for ConfigOption
Source§impl Serialize for ConfigOption
impl Serialize for ConfigOption
impl StructuralPartialEq for ConfigOption
Auto Trait Implementations§
impl Freeze for ConfigOption
impl RefUnwindSafe for ConfigOption
impl Send for ConfigOption
impl Sync for ConfigOption
impl Unpin for ConfigOption
impl UnsafeUnpin for ConfigOption
impl UnwindSafe for ConfigOption
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