pub enum ImageDetail {
Auto,
Low,
High,
}Expand description
Image detail level for processing.
Variants§
Auto
Automatically determine the detail level.
Low
Low detail - faster, fewer tokens.
High
High detail - slower, more tokens, better for fine details.
Trait Implementations§
Source§impl Clone for ImageDetail
impl Clone for ImageDetail
Source§fn clone(&self) -> ImageDetail
fn clone(&self) -> ImageDetail
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 ImageDetail
impl Debug for ImageDetail
Source§impl Default for ImageDetail
impl Default for ImageDetail
Source§fn default() -> ImageDetail
fn default() -> ImageDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageDetail
impl<'de> Deserialize<'de> for ImageDetail
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 ImageDetail
impl PartialEq for ImageDetail
Source§impl Serialize for ImageDetail
impl Serialize for ImageDetail
impl Copy for ImageDetail
impl Eq for ImageDetail
impl StructuralPartialEq for ImageDetail
Auto Trait Implementations§
impl Freeze for ImageDetail
impl RefUnwindSafe for ImageDetail
impl Send for ImageDetail
impl Sync for ImageDetail
impl Unpin for ImageDetail
impl UnsafeUnpin for ImageDetail
impl UnwindSafe for ImageDetail
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