pub struct StoredAttachment {
pub meta: AttachmentMeta,
pub bytes: Vec<u8>,
}Fields§
§meta: AttachmentMeta§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for StoredAttachment
impl Clone for StoredAttachment
Source§fn clone(&self) -> StoredAttachment
fn clone(&self) -> StoredAttachment
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 moreAuto Trait Implementations§
impl Freeze for StoredAttachment
impl RefUnwindSafe for StoredAttachment
impl Send for StoredAttachment
impl Sync for StoredAttachment
impl Unpin for StoredAttachment
impl UnsafeUnpin for StoredAttachment
impl UnwindSafe for StoredAttachment
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