pub struct StructuredOutputError {
pub data: StructuredOutputErrorData,
}Expand description
An error indicating that structured output validation failed.
Fields§
§data: StructuredOutputErrorDataStructured error data.
Trait Implementations§
Source§impl Clone for StructuredOutputError
impl Clone for StructuredOutputError
Source§fn clone(&self) -> StructuredOutputError
fn clone(&self) -> StructuredOutputError
Returns a duplicate of the value. Read more
1.0.0 · 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 StructuredOutputError
impl Debug for StructuredOutputError
Source§impl<'de> Deserialize<'de> for StructuredOutputError
impl<'de> Deserialize<'de> for StructuredOutputError
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
Source§impl From<StructuredOutputError> for SessionError
impl From<StructuredOutputError> for SessionError
Source§fn from(e: StructuredOutputError) -> Self
fn from(e: StructuredOutputError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StructuredOutputError
impl PartialEq for StructuredOutputError
Source§impl Serialize for StructuredOutputError
impl Serialize for StructuredOutputError
impl StructuralPartialEq for StructuredOutputError
Auto Trait Implementations§
impl Freeze for StructuredOutputError
impl RefUnwindSafe for StructuredOutputError
impl Send for StructuredOutputError
impl Sync for StructuredOutputError
impl Unpin for StructuredOutputError
impl UnwindSafe for StructuredOutputError
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