pub struct InputImageContent {
pub type: String,
pub image_url: InputImageContent_ImageUrl,
pub file_id: InputImageContent_FileId,
pub detail: String,
}Expand description
An image input to the model.
Fields§
§type: StringThe type of the input item.
image_url: InputImageContent_ImageUrl§file_id: InputImageContent_FileId§detail: StringThe 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 moreAuto 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