pub struct AttachmentArchiveItemReadable {
pub path: Option<String>,
pub index: Option<i64>,
pub size: Option<String>,
pub media_type: Option<String>,
pub label: Option<String>,
}
Expand description
AttachmentArchiveItemReadable : Metadata for an item in an attachment archive.
Fields§
§path: Option<String>
The path of the archive item.
index: Option<i64>
The position of the item within the archive.
size: Option<String>
The size of the archive item.
media_type: Option<String>
The MIME type of the archive item.
label: Option<String>
The label for the archive item.
Implementations§
Source§impl AttachmentArchiveItemReadable
impl AttachmentArchiveItemReadable
Sourcepub fn new() -> AttachmentArchiveItemReadable
pub fn new() -> AttachmentArchiveItemReadable
Metadata for an item in an attachment archive.
Trait Implementations§
Source§impl Clone for AttachmentArchiveItemReadable
impl Clone for AttachmentArchiveItemReadable
Source§fn clone(&self) -> AttachmentArchiveItemReadable
fn clone(&self) -> AttachmentArchiveItemReadable
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 moreSource§impl Default for AttachmentArchiveItemReadable
impl Default for AttachmentArchiveItemReadable
Source§fn default() -> AttachmentArchiveItemReadable
fn default() -> AttachmentArchiveItemReadable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentArchiveItemReadable
impl<'de> Deserialize<'de> for AttachmentArchiveItemReadable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttachmentArchiveItemReadable
impl PartialEq for AttachmentArchiveItemReadable
Source§fn eq(&self, other: &AttachmentArchiveItemReadable) -> bool
fn eq(&self, other: &AttachmentArchiveItemReadable) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AttachmentArchiveItemReadable
Auto Trait Implementations§
impl Freeze for AttachmentArchiveItemReadable
impl RefUnwindSafe for AttachmentArchiveItemReadable
impl Send for AttachmentArchiveItemReadable
impl Sync for AttachmentArchiveItemReadable
impl Unpin for AttachmentArchiveItemReadable
impl UnwindSafe for AttachmentArchiveItemReadable
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