pub struct InputImageContent {
pub detail: String,
pub file_id: Option<Value>,
pub image_url: Option<Value>,
pub _type: String,
}
Fields§
§detail: String
The detail level of the image to be sent to the model. One of high
, low
, or auto
. Defaults to auto
.
file_id: Option<Value>
§image_url: Option<Value>
§_type: String
The type of the input item. Always input_image
.
Trait Implementations§
Source§impl Debug for InputImageContent
impl Debug for InputImageContent
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
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