pub struct InputContentInputImage {
pub image_url: String,
pub type_: String,
pub detail: Option<String>,
}Expand description
An image input block used within EvalItem content arrays.
Fields§
§image_url: StringThe URL of the image input.
type_: StringThe type of the image input. Always input_image.
detail: Option<String>The detail level of the image to be sent to the model.
Trait Implementations§
Source§impl Clone for InputContentInputImage
impl Clone for InputContentInputImage
Source§fn clone(&self) -> InputContentInputImage
fn clone(&self) -> InputContentInputImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputContentInputImage
impl Debug for InputContentInputImage
Source§impl<'de> Deserialize<'de> for InputContentInputImage
impl<'de> Deserialize<'de> for InputContentInputImage
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 InputContentInputImage
impl RefUnwindSafe for InputContentInputImage
impl Send for InputContentInputImage
impl Sync for InputContentInputImage
impl Unpin for InputContentInputImage
impl UnsafeUnpin for InputContentInputImage
impl UnwindSafe for InputContentInputImage
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