Enum AiStructuredOutputSupport
pub enum AiStructuredOutputSupport {
None,
Json,
JsonSchema,
Grammar,
Custom,
}Variants§
Implementations§
§impl AiStructuredOutputSupport
impl AiStructuredOutputSupport
pub const ALL: &'static [AiStructuredOutputSupport]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiStructuredOutputSupport
impl Clone for AiStructuredOutputSupport
§fn clone(&self) -> AiStructuredOutputSupport
fn clone(&self) -> AiStructuredOutputSupport
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 more§impl Debug for AiStructuredOutputSupport
impl Debug for AiStructuredOutputSupport
§impl Display for AiStructuredOutputSupport
impl Display for AiStructuredOutputSupport
§impl FromStr for AiStructuredOutputSupport
impl FromStr for AiStructuredOutputSupport
§type Err = AiCapabilityError
type Err = AiCapabilityError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiStructuredOutputSupport, <AiStructuredOutputSupport as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiStructuredOutputSupport, <AiStructuredOutputSupport as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiStructuredOutputSupport
impl Hash for AiStructuredOutputSupport
§impl Ord for AiStructuredOutputSupport
impl Ord for AiStructuredOutputSupport
§fn cmp(&self, other: &AiStructuredOutputSupport) -> Ordering
fn cmp(&self, other: &AiStructuredOutputSupport) -> Ordering
1.21.0 · 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
§impl PartialEq for AiStructuredOutputSupport
impl PartialEq for AiStructuredOutputSupport
§impl PartialOrd for AiStructuredOutputSupport
impl PartialOrd for AiStructuredOutputSupport
impl Copy for AiStructuredOutputSupport
impl Eq for AiStructuredOutputSupport
impl StructuralPartialEq for AiStructuredOutputSupport
Auto Trait Implementations§
impl Freeze for AiStructuredOutputSupport
impl RefUnwindSafe for AiStructuredOutputSupport
impl Send for AiStructuredOutputSupport
impl Sync for AiStructuredOutputSupport
impl Unpin for AiStructuredOutputSupport
impl UnsafeUnpin for AiStructuredOutputSupport
impl UnwindSafe for AiStructuredOutputSupport
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