pub struct MessageContentImageUrlObject_ImageUrl {
pub url: String,
pub detail: Option<String>,
}
Fields§
§url: String
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
detail: Option<String>
Specifies the detail level of the image.
Trait Implementations§
Source§impl Clone for MessageContentImageUrlObject_ImageUrl
impl Clone for MessageContentImageUrlObject_ImageUrl
Source§fn clone(&self) -> MessageContentImageUrlObject_ImageUrl
fn clone(&self) -> MessageContentImageUrlObject_ImageUrl
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 moreSource§impl Default for MessageContentImageUrlObject_ImageUrl
impl Default for MessageContentImageUrlObject_ImageUrl
Source§fn default() -> MessageContentImageUrlObject_ImageUrl
fn default() -> MessageContentImageUrlObject_ImageUrl
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageContentImageUrlObject_ImageUrl
impl RefUnwindSafe for MessageContentImageUrlObject_ImageUrl
impl Send for MessageContentImageUrlObject_ImageUrl
impl Sync for MessageContentImageUrlObject_ImageUrl
impl Unpin for MessageContentImageUrlObject_ImageUrl
impl UnwindSafe for MessageContentImageUrlObject_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