Enum async_openai::types::ResponseFormat
source · pub enum ResponseFormat {
Url,
B64Json,
}
Variants§
Trait Implementations§
source§impl Clone for ResponseFormat
impl Clone for ResponseFormat
source§fn clone(&self) -> ResponseFormat
fn clone(&self) -> ResponseFormat
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 ResponseFormat
impl Debug for ResponseFormat
source§impl Default for ResponseFormat
impl Default for ResponseFormat
source§fn default() -> ResponseFormat
fn default() -> ResponseFormat
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResponseFormat
impl<'de> Deserialize<'de> for ResponseFormat
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 Display for ResponseFormat
impl Display for ResponseFormat
source§impl PartialEq for ResponseFormat
impl PartialEq for ResponseFormat
source§fn eq(&self, other: &ResponseFormat) -> bool
fn eq(&self, other: &ResponseFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResponseFormat
impl Serialize for ResponseFormat
impl Copy for ResponseFormat
impl StructuralPartialEq for ResponseFormat
Auto Trait Implementations§
impl Freeze for ResponseFormat
impl RefUnwindSafe for ResponseFormat
impl Send for ResponseFormat
impl Sync for ResponseFormat
impl Unpin for ResponseFormat
impl UnwindSafe for ResponseFormat
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)