pub struct ChatCompletionContentPartImage {
pub image_url: ImageURL,
pub type_: String,
}Expand description
Learn about image inputs.
Fields§
§image_url: ImageURL§type_: StringThe type of the content part.
Trait Implementations§
Source§impl Clone for ChatCompletionContentPartImage
impl Clone for ChatCompletionContentPartImage
Source§fn clone(&self) -> ChatCompletionContentPartImage
fn clone(&self) -> ChatCompletionContentPartImage
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<'de> Deserialize<'de> for ChatCompletionContentPartImage
impl<'de> Deserialize<'de> for ChatCompletionContentPartImage
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 ChatCompletionContentPartImage
impl RefUnwindSafe for ChatCompletionContentPartImage
impl Send for ChatCompletionContentPartImage
impl Sync for ChatCompletionContentPartImage
impl Unpin for ChatCompletionContentPartImage
impl UnsafeUnpin for ChatCompletionContentPartImage
impl UnwindSafe for ChatCompletionContentPartImage
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