pub enum ResponsesCreateRequestModalitiesItem {
Text,
Image,
Audio,
Video,
Embedding,
}Expand description
ResponsesCreateRequestModalitiesItem
JSON schema
{
"type": "string",
"enum": [
"text",
"image",
"audio",
"video",
"embedding"
]
}Variants§
Trait Implementations§
Source§impl Clone for ResponsesCreateRequestModalitiesItem
impl Clone for ResponsesCreateRequestModalitiesItem
Source§fn clone(&self) -> ResponsesCreateRequestModalitiesItem
fn clone(&self) -> ResponsesCreateRequestModalitiesItem
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 moreimpl Copy for ResponsesCreateRequestModalitiesItem
Source§impl<'de> Deserialize<'de> for ResponsesCreateRequestModalitiesItem
impl<'de> Deserialize<'de> for ResponsesCreateRequestModalitiesItem
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
impl Eq for ResponsesCreateRequestModalitiesItem
Source§impl Ord for ResponsesCreateRequestModalitiesItem
impl Ord for ResponsesCreateRequestModalitiesItem
Source§fn cmp(&self, other: &ResponsesCreateRequestModalitiesItem) -> Ordering
fn cmp(&self, other: &ResponsesCreateRequestModalitiesItem) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for ResponsesCreateRequestModalitiesItem
impl PartialEq for ResponsesCreateRequestModalitiesItem
Source§fn eq(&self, other: &ResponsesCreateRequestModalitiesItem) -> bool
fn eq(&self, other: &ResponsesCreateRequestModalitiesItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ResponsesCreateRequestModalitiesItem
impl PartialOrd for ResponsesCreateRequestModalitiesItem
impl StructuralPartialEq for ResponsesCreateRequestModalitiesItem
Source§impl TryFrom<&String> for ResponsesCreateRequestModalitiesItem
impl TryFrom<&String> for ResponsesCreateRequestModalitiesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResponsesCreateRequestModalitiesItem
impl TryFrom<&str> for ResponsesCreateRequestModalitiesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResponsesCreateRequestModalitiesItem
impl TryFrom<String> for ResponsesCreateRequestModalitiesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ResponsesCreateRequestModalitiesItem
impl RefUnwindSafe for ResponsesCreateRequestModalitiesItem
impl Send for ResponsesCreateRequestModalitiesItem
impl Sync for ResponsesCreateRequestModalitiesItem
impl Unpin for ResponsesCreateRequestModalitiesItem
impl UnsafeUnpin for ResponsesCreateRequestModalitiesItem
impl UnwindSafe for ResponsesCreateRequestModalitiesItem
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