pub enum GrammarSyntax {
Lark,
Regex,
}Available on crate feature
response-types only.Variants§
Trait Implementations§
Source§impl Clone for GrammarSyntax
Available on (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.
impl Clone for GrammarSyntax
Available on (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.Source§fn clone(&self) -> GrammarSyntax
fn clone(&self) -> GrammarSyntax
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 GrammarSyntax
Available on (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.
impl Debug for GrammarSyntax
Available on (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.Source§impl Default for GrammarSyntax
Available on (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.
impl Default for GrammarSyntax
Available on (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.Source§fn default() -> GrammarSyntax
fn default() -> GrammarSyntax
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrammarSyntax
Available on (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.
impl<'de> Deserialize<'de> for GrammarSyntax
Available on (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.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
Available on (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.
impl PartialEq for GrammarSyntax
Available on (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.Source§impl Serialize for GrammarSyntax
Available on (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.
impl Serialize for GrammarSyntax
Available on (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.impl StructuralPartialEq for GrammarSyntax
Available on (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.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