pub struct GeneratedOpenAISchema(/* private fields */);
Expand description
An OpenAI-compatible JSON schema produced by the OpenAI
schema derive macro.
Trait Implementations§
Source§impl Clone for GeneratedOpenAISchema
impl Clone for GeneratedOpenAISchema
Source§fn clone(&self) -> GeneratedOpenAISchema
fn clone(&self) -> GeneratedOpenAISchema
Returns a copy 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 GeneratedOpenAISchema
impl Debug for GeneratedOpenAISchema
Source§impl Display for GeneratedOpenAISchema
impl Display for GeneratedOpenAISchema
Source§impl From<String> for GeneratedOpenAISchema
impl From<String> for GeneratedOpenAISchema
Source§fn from(schema: String) -> GeneratedOpenAISchema
fn from(schema: String) -> GeneratedOpenAISchema
Converts to this type from the input type.
Source§impl Serialize for GeneratedOpenAISchema
impl Serialize for GeneratedOpenAISchema
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for GeneratedOpenAISchema
Auto Trait Implementations§
impl Freeze for GeneratedOpenAISchema
impl RefUnwindSafe for GeneratedOpenAISchema
impl Send for GeneratedOpenAISchema
impl Sync for GeneratedOpenAISchema
impl Unpin for GeneratedOpenAISchema
impl UnwindSafe for GeneratedOpenAISchema
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