pub struct ContentPartImageUrl {
pub url: String,
pub detail: Option<ImageDetail>,
}Expand description
Contains either an image URL or a data URL for a base64 encoded image.
Fields§
§url: StringEither a URL of the image or the base64 encoded image data.
detail: Option<ImageDetail>Specifies the detail level of the image. Learn more.
Trait Implementations§
Source§impl Clone for ContentPartImageUrl
impl Clone for ContentPartImageUrl
Source§fn clone(&self) -> ContentPartImageUrl
fn clone(&self) -> ContentPartImageUrl
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 ContentPartImageUrl
impl Debug for ContentPartImageUrl
Auto Trait Implementations§
impl Freeze for ContentPartImageUrl
impl RefUnwindSafe for ContentPartImageUrl
impl Send for ContentPartImageUrl
impl Sync for ContentPartImageUrl
impl Unpin for ContentPartImageUrl
impl UnsafeUnpin for ContentPartImageUrl
impl UnwindSafe for ContentPartImageUrl
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