pub struct MessageDeltaContentImageFileObjectImageFile {
pub detail: Option<String>,
pub file_id: Option<String>,
}
Fields§
§detail: Option<String>
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<'de> Deserialize<'de> for MessageDeltaContentImageFileObjectImageFile
impl<'de> Deserialize<'de> for MessageDeltaContentImageFileObjectImageFile
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 MessageDeltaContentImageFileObjectImageFile
impl RefUnwindSafe for MessageDeltaContentImageFileObjectImageFile
impl Send for MessageDeltaContentImageFileObjectImageFile
impl Sync for MessageDeltaContentImageFileObjectImageFile
impl Unpin for MessageDeltaContentImageFileObjectImageFile
impl UnwindSafe for MessageDeltaContentImageFileObjectImageFile
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