pub struct ImageFileDelta {
pub detail: Option<Detail>,
pub file_id: Option<String>,
}Fields§
§detail: Option<Detail>Specifies the detail level of the image if specified by the user. low uses
fewer tokens, you can opt in to high resolution using high.
file_id: Option<String>The File ID of the image
in the message content. Set purpose="vision" when uploading the File if you
need to later display the file content.
Trait Implementations§
Source§impl Clone for ImageFileDelta
impl Clone for ImageFileDelta
Source§fn clone(&self) -> ImageFileDelta
fn clone(&self) -> ImageFileDelta
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 ImageFileDelta
impl Debug for ImageFileDelta
Source§impl Default for ImageFileDelta
impl Default for ImageFileDelta
Source§fn default() -> ImageFileDelta
fn default() -> ImageFileDelta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageFileDelta
impl<'de> Deserialize<'de> for ImageFileDelta
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
Auto Trait Implementations§
impl Freeze for ImageFileDelta
impl RefUnwindSafe for ImageFileDelta
impl Send for ImageFileDelta
impl Sync for ImageFileDelta
impl Unpin for ImageFileDelta
impl UnwindSafe for ImageFileDelta
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