pub struct InputImageContent {
pub type: String,
pub image_url: Option<InputImageContent_ImageUrl>,
pub file_id: Option<InputImageContent_FileId>,
pub detail: String,
}
Expand description
An image input to the model.
Fields§
§type: String
The type of the input item.
image_url: Option<InputImageContent_ImageUrl>
§file_id: Option<InputImageContent_FileId>
§detail: String
The detail level of the image to be sent to the model.
Trait Implementations§
Source§impl Clone for InputImageContent
impl Clone for InputImageContent
Source§fn clone(&self) -> InputImageContent
fn clone(&self) -> InputImageContent
Returns a copy 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 InputImageContent
impl Debug for InputImageContent
Source§impl Default for InputImageContent
impl Default for InputImageContent
Source§fn default() -> InputImageContent
fn default() -> InputImageContent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InputImageContent
impl RefUnwindSafe for InputImageContent
impl Send for InputImageContent
impl Sync for InputImageContent
impl Unpin for InputImageContent
impl UnwindSafe for InputImageContent
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