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