pub struct AttachmentUpload {
pub kind: AttachmentKind,
pub file_name: String,
pub content_type: String,
pub bytes: Vec<u8>,
}Fields§
§kind: AttachmentKind§file_name: String§content_type: String§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for AttachmentUpload
impl Clone for AttachmentUpload
Source§fn clone(&self) -> AttachmentUpload
fn clone(&self) -> AttachmentUpload
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 AttachmentUpload
impl Debug for AttachmentUpload
impl Eq for AttachmentUpload
Source§impl PartialEq for AttachmentUpload
impl PartialEq for AttachmentUpload
impl StructuralPartialEq for AttachmentUpload
Auto Trait Implementations§
impl Freeze for AttachmentUpload
impl RefUnwindSafe for AttachmentUpload
impl Send for AttachmentUpload
impl Sync for AttachmentUpload
impl Unpin for AttachmentUpload
impl UnsafeUnpin for AttachmentUpload
impl UnwindSafe for AttachmentUpload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.