pub enum GrammarSyntax {
Lark,
Regex,
}Available on crate feature
chat-completion-types and (crate features chat-completion-types or response-types) and (crate features response-types or video-types or vectorstore-types or chat-completion-types or assistant-types or batch-types or audio-types or realtime-types or image-types) only.Variants§
Trait Implementations§
Source§impl Clone for GrammarSyntax
impl Clone for GrammarSyntax
Source§fn clone(&self) -> GrammarSyntax
fn clone(&self) -> GrammarSyntax
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 Debug for GrammarSyntax
impl Debug for GrammarSyntax
Source§impl Default for GrammarSyntax
impl Default for GrammarSyntax
Source§fn default() -> GrammarSyntax
fn default() -> GrammarSyntax
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrammarSyntax
impl<'de> Deserialize<'de> for GrammarSyntax
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 PartialEq for GrammarSyntax
impl PartialEq for GrammarSyntax
Source§fn eq(&self, other: &GrammarSyntax) -> bool
fn eq(&self, other: &GrammarSyntax) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GrammarSyntax
impl Serialize for GrammarSyntax
impl StructuralPartialEq for GrammarSyntax
Auto Trait Implementations§
impl Freeze for GrammarSyntax
impl RefUnwindSafe for GrammarSyntax
impl Send for GrammarSyntax
impl Sync for GrammarSyntax
impl Unpin for GrammarSyntax
impl UnsafeUnpin for GrammarSyntax
impl UnwindSafe for GrammarSyntax
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