pub struct InputImageContent {
pub detail: ImageDetail,
pub file_id: Option<String>,
pub image_url: Option<String>,
}Available on crate feature
response-types only.Fields§
§detail: ImageDetailThe detail level of the image to be sent to the model. One of high, low, or auto.
Defaults to auto.
file_id: Option<String>The ID of the file to be sent to the model.
image_url: Option<String>The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.
Trait Implementations§
Source§impl Clone for InputImageContent
impl Clone for InputImageContent
Source§fn clone(&self) -> InputImageContent
fn clone(&self) -> InputImageContent
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 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
Source§impl<'de> Deserialize<'de> for InputImageContent
impl<'de> Deserialize<'de> for InputImageContent
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
Source§impl From<InputImageContent> for InputContent
impl From<InputImageContent> for InputContent
Source§fn from(content: InputImageContent) -> Self
fn from(content: InputImageContent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputImageContent
impl PartialEq for InputImageContent
Source§impl Serialize for InputImageContent
impl Serialize for InputImageContent
impl StructuralPartialEq for InputImageContent
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