pub struct ImageAttachment {
pub data: String,
pub media_type: String,
}Expand description
A base64-encoded image attachment.
Fields§
§data: String§media_type: StringTrait Implementations§
Source§impl Clone for ImageAttachment
impl Clone for ImageAttachment
Source§fn clone(&self) -> ImageAttachment
fn clone(&self) -> ImageAttachment
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 ImageAttachment
impl RefUnwindSafe for ImageAttachment
impl Send for ImageAttachment
impl Sync for ImageAttachment
impl Unpin for ImageAttachment
impl UnsafeUnpin for ImageAttachment
impl UnwindSafe for ImageAttachment
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