pub enum ResponseInputImageDetail {
Auto,
Low,
High,
}Expand description
The detail level of the image to send to the model.
JSON schema
{
"description": "The detail level of the image to send to the model.",
"default": "auto",
"type": "string",
"enum": [
"auto",
"low",
"high"
]
}Variants§
Trait Implementations§
Source§impl Clone for ResponseInputImageDetail
impl Clone for ResponseInputImageDetail
Source§fn clone(&self) -> ResponseInputImageDetail
fn clone(&self) -> ResponseInputImageDetail
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 ResponseInputImageDetail
Source§impl Debug for ResponseInputImageDetail
impl Debug for ResponseInputImageDetail
Source§impl Default for ResponseInputImageDetail
impl Default for ResponseInputImageDetail
Source§impl<'de> Deserialize<'de> for ResponseInputImageDetail
impl<'de> Deserialize<'de> for ResponseInputImageDetail
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 ResponseInputImageDetail
impl Display for ResponseInputImageDetail
impl Eq for ResponseInputImageDetail
Source§impl FromStr for ResponseInputImageDetail
impl FromStr for ResponseInputImageDetail
Source§impl Hash for ResponseInputImageDetail
impl Hash for ResponseInputImageDetail
Source§impl Ord for ResponseInputImageDetail
impl Ord for ResponseInputImageDetail
Source§fn cmp(&self, other: &ResponseInputImageDetail) -> Ordering
fn cmp(&self, other: &ResponseInputImageDetail) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResponseInputImageDetail
impl PartialEq for ResponseInputImageDetail
Source§impl PartialOrd for ResponseInputImageDetail
impl PartialOrd for ResponseInputImageDetail
Source§impl Serialize for ResponseInputImageDetail
impl Serialize for ResponseInputImageDetail
impl StructuralPartialEq for ResponseInputImageDetail
Source§impl TryFrom<&String> for ResponseInputImageDetail
impl TryFrom<&String> for ResponseInputImageDetail
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResponseInputImageDetail
impl TryFrom<&str> for ResponseInputImageDetail
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResponseInputImageDetail
impl TryFrom<String> for ResponseInputImageDetail
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ResponseInputImageDetail
impl RefUnwindSafe for ResponseInputImageDetail
impl Send for ResponseInputImageDetail
impl Sync for ResponseInputImageDetail
impl Unpin for ResponseInputImageDetail
impl UnsafeUnpin for ResponseInputImageDetail
impl UnwindSafe for ResponseInputImageDetail
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.