pub struct QuotaUsedAttachment {
pub api_url: Option<Url>,
pub contained_in: Option<QuotaUsedAttachmentContainedIn>,
pub name: Option<String>,
pub size: Option<i64>,
}Expand description
QuotaUsedAttachment represents an attachment counting towards a user’s quota
Fields§
§api_url: Option<Url>API URL for the attachment
contained_in: Option<QuotaUsedAttachmentContainedIn>Context for the attachment: URLs to the containing object
name: Option<String>Filename of the attachment
size: Option<i64>Size of the attachment (in bytes)
Trait Implementations§
Source§impl Clone for QuotaUsedAttachment
impl Clone for QuotaUsedAttachment
Source§fn clone(&self) -> QuotaUsedAttachment
fn clone(&self) -> QuotaUsedAttachment
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 Debug for QuotaUsedAttachment
impl Debug for QuotaUsedAttachment
Source§impl<'de> Deserialize<'de> for QuotaUsedAttachment
impl<'de> Deserialize<'de> for QuotaUsedAttachment
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 QuotaUsedAttachment
impl PartialEq for QuotaUsedAttachment
Source§impl Serialize for QuotaUsedAttachment
impl Serialize for QuotaUsedAttachment
impl StructuralPartialEq for QuotaUsedAttachment
Auto Trait Implementations§
impl Freeze for QuotaUsedAttachment
impl RefUnwindSafe for QuotaUsedAttachment
impl Send for QuotaUsedAttachment
impl Sync for QuotaUsedAttachment
impl Unpin for QuotaUsedAttachment
impl UnwindSafe for QuotaUsedAttachment
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