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