pub enum ChatResponseFormat {
Text,
Json,
}
Variants§
Trait Implementations§
Source§impl Clone for ChatResponseFormat
impl Clone for ChatResponseFormat
Source§fn clone(&self) -> ChatResponseFormat
fn clone(&self) -> ChatResponseFormat
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 ChatResponseFormat
impl Debug for ChatResponseFormat
Source§impl Default for ChatResponseFormat
impl Default for ChatResponseFormat
Source§fn default() -> ChatResponseFormat
fn default() -> ChatResponseFormat
Returns the “default value” for a type. Read more
Source§impl Display for ChatResponseFormat
impl Display for ChatResponseFormat
Source§impl FromStr for ChatResponseFormat
impl FromStr for ChatResponseFormat
Source§impl PartialEq for ChatResponseFormat
impl PartialEq for ChatResponseFormat
Source§impl Serialize for ChatResponseFormat
impl Serialize for ChatResponseFormat
Source§impl TryFrom<&str> for ChatResponseFormat
impl TryFrom<&str> for ChatResponseFormat
Source§impl VariantNames for ChatResponseFormat
impl VariantNames for ChatResponseFormat
impl Copy for ChatResponseFormat
impl Eq for ChatResponseFormat
impl StructuralPartialEq for ChatResponseFormat
Auto Trait Implementations§
impl Freeze for ChatResponseFormat
impl RefUnwindSafe for ChatResponseFormat
impl Send for ChatResponseFormat
impl Sync for ChatResponseFormat
impl Unpin for ChatResponseFormat
impl UnwindSafe for ChatResponseFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.