pub enum StructuredOutputLifecycleKind {
Requested,
ValidationStarted,
}Expand description
Enumerates the finite structured output lifecycle kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Requested
Use this variant when the contract needs to represent requested; selecting it has no side effect by itself.
ValidationStarted
Use this variant when the contract needs to represent validation started; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for StructuredOutputLifecycleKind
impl Clone for StructuredOutputLifecycleKind
Source§fn clone(&self) -> StructuredOutputLifecycleKind
fn clone(&self) -> StructuredOutputLifecycleKind
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<'de> Deserialize<'de> for StructuredOutputLifecycleKind
impl<'de> Deserialize<'de> for StructuredOutputLifecycleKind
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 StructuredOutputLifecycleKind
Source§impl PartialEq for StructuredOutputLifecycleKind
impl PartialEq for StructuredOutputLifecycleKind
Source§fn eq(&self, other: &StructuredOutputLifecycleKind) -> bool
fn eq(&self, other: &StructuredOutputLifecycleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StructuredOutputLifecycleKind
Auto Trait Implementations§
impl Freeze for StructuredOutputLifecycleKind
impl RefUnwindSafe for StructuredOutputLifecycleKind
impl Send for StructuredOutputLifecycleKind
impl Sync for StructuredOutputLifecycleKind
impl Unpin for StructuredOutputLifecycleKind
impl UnsafeUnpin for StructuredOutputLifecycleKind
impl UnwindSafe for StructuredOutputLifecycleKind
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