pub struct MessageContentImageUrlObject {
pub type: String,
pub image_url: MessageContentImageUrlObject_ImageUrl,
}
Expand description
References an image URL in the content of a message.
Fields§
§type: String
The type of the content part.
image_url: MessageContentImageUrlObject_ImageUrl
Trait Implementations§
Source§impl Clone for MessageContentImageUrlObject
impl Clone for MessageContentImageUrlObject
Source§fn clone(&self) -> MessageContentImageUrlObject
fn clone(&self) -> MessageContentImageUrlObject
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 moreAuto Trait Implementations§
impl Freeze for MessageContentImageUrlObject
impl RefUnwindSafe for MessageContentImageUrlObject
impl Send for MessageContentImageUrlObject
impl Sync for MessageContentImageUrlObject
impl Unpin for MessageContentImageUrlObject
impl UnwindSafe for MessageContentImageUrlObject
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