pub struct ValidatedAttachment {
pub kind: AttachmentKind,
pub file_name: String,
pub content_type: String,
pub size_bytes: u64,
}Fields§
§kind: AttachmentKind§file_name: String§content_type: String§size_bytes: u64Trait Implementations§
Source§impl Clone for ValidatedAttachment
impl Clone for ValidatedAttachment
Source§fn clone(&self) -> ValidatedAttachment
fn clone(&self) -> ValidatedAttachment
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 ValidatedAttachment
impl Debug for ValidatedAttachment
impl Eq for ValidatedAttachment
Source§impl PartialEq for ValidatedAttachment
impl PartialEq for ValidatedAttachment
impl StructuralPartialEq for ValidatedAttachment
Auto Trait Implementations§
impl Freeze for ValidatedAttachment
impl RefUnwindSafe for ValidatedAttachment
impl Send for ValidatedAttachment
impl Sync for ValidatedAttachment
impl Unpin for ValidatedAttachment
impl UnsafeUnpin for ValidatedAttachment
impl UnwindSafe for ValidatedAttachment
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.