pub struct AttachmentArchiveMetadataReadable {
pub id: Option<i64>,
pub name: Option<String>,
pub entries: Option<Vec<AttachmentArchiveItemReadable>>,
pub total_entry_count: Option<i64>,
pub media_type: Option<String>,
}
Expand description
AttachmentArchiveMetadataReadable : Metadata for an archive (for example a zip) and its contents.
Fields§
§id: Option<i64>
The ID of the attachment.
name: Option<String>
The name of the archive file.
entries: Option<Vec<AttachmentArchiveItemReadable>>
The list of the items included in the archive.
total_entry_count: Option<i64>
The number of items included in the archive.
media_type: Option<String>
The MIME type of the attachment.
Implementations§
Source§impl AttachmentArchiveMetadataReadable
impl AttachmentArchiveMetadataReadable
Sourcepub fn new() -> AttachmentArchiveMetadataReadable
pub fn new() -> AttachmentArchiveMetadataReadable
Metadata for an archive (for example a zip) and its contents.
Trait Implementations§
Source§impl Clone for AttachmentArchiveMetadataReadable
impl Clone for AttachmentArchiveMetadataReadable
Source§fn clone(&self) -> AttachmentArchiveMetadataReadable
fn clone(&self) -> AttachmentArchiveMetadataReadable
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 AttachmentArchiveMetadataReadable
impl Default for AttachmentArchiveMetadataReadable
Source§fn default() -> AttachmentArchiveMetadataReadable
fn default() -> AttachmentArchiveMetadataReadable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentArchiveMetadataReadable
impl<'de> Deserialize<'de> for AttachmentArchiveMetadataReadable
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 AttachmentArchiveMetadataReadable
impl PartialEq for AttachmentArchiveMetadataReadable
Source§fn eq(&self, other: &AttachmentArchiveMetadataReadable) -> bool
fn eq(&self, other: &AttachmentArchiveMetadataReadable) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AttachmentArchiveMetadataReadable
Auto Trait Implementations§
impl Freeze for AttachmentArchiveMetadataReadable
impl RefUnwindSafe for AttachmentArchiveMetadataReadable
impl Send for AttachmentArchiveMetadataReadable
impl Sync for AttachmentArchiveMetadataReadable
impl Unpin for AttachmentArchiveMetadataReadable
impl UnwindSafe for AttachmentArchiveMetadataReadable
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