pub struct ChatCompletionRequestMessageContentPartImage_ImageUrl {
pub url: String,
pub detail: Option<String>,
}
Fields§
§url: String
Either a URL of the image or the base64 encoded image data.
detail: Option<String>
Specifies the detail level of the image.
Trait Implementations§
Source§impl Clone for ChatCompletionRequestMessageContentPartImage_ImageUrl
impl Clone for ChatCompletionRequestMessageContentPartImage_ImageUrl
Source§fn clone(&self) -> ChatCompletionRequestMessageContentPartImage_ImageUrl
fn clone(&self) -> ChatCompletionRequestMessageContentPartImage_ImageUrl
Returns a copy 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 Default for ChatCompletionRequestMessageContentPartImage_ImageUrl
impl Default for ChatCompletionRequestMessageContentPartImage_ImageUrl
Source§fn default() -> ChatCompletionRequestMessageContentPartImage_ImageUrl
fn default() -> ChatCompletionRequestMessageContentPartImage_ImageUrl
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChatCompletionRequestMessageContentPartImage_ImageUrl
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartImage_ImageUrl
impl Send for ChatCompletionRequestMessageContentPartImage_ImageUrl
impl Sync for ChatCompletionRequestMessageContentPartImage_ImageUrl
impl Unpin for ChatCompletionRequestMessageContentPartImage_ImageUrl
impl UnwindSafe for ChatCompletionRequestMessageContentPartImage_ImageUrl
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