pub struct AttachmentCompactAllOf {
pub name: Option<String>,
pub resource_subtype: Option<Value>,
}
Expand description
AttachmentCompactAllOf : An attachment object represents any file attached to a task in Asana, whether it’s an uploaded file or one associated via a third-party service such as Dropbox or Google Drive.
Fields
name: Option<String>
The name of the file.
resource_subtype: Option<Value>
The service hosting the attachment. Valid values are asana
, dropbox
, gdrive
, onedrive
, box
, and external
. external
attachments are a beta feature currently limited to specific integrations.
Implementations
sourceimpl AttachmentCompactAllOf
impl AttachmentCompactAllOf
sourcepub fn new() -> AttachmentCompactAllOf
pub fn new() -> AttachmentCompactAllOf
An attachment object represents any file attached to a task in Asana, whether it’s an uploaded file or one associated via a third-party service such as Dropbox or Google Drive.
Trait Implementations
sourceimpl Clone for AttachmentCompactAllOf
impl Clone for AttachmentCompactAllOf
sourcefn clone(&self) -> AttachmentCompactAllOf
fn clone(&self) -> AttachmentCompactAllOf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AttachmentCompactAllOf
impl Debug for AttachmentCompactAllOf
sourceimpl<'de> Deserialize<'de> for AttachmentCompactAllOf
impl<'de> Deserialize<'de> for AttachmentCompactAllOf
sourcefn 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
sourceimpl PartialEq<AttachmentCompactAllOf> for AttachmentCompactAllOf
impl PartialEq<AttachmentCompactAllOf> for AttachmentCompactAllOf
sourcefn eq(&self, other: &AttachmentCompactAllOf) -> bool
fn eq(&self, other: &AttachmentCompactAllOf) -> bool
sourceimpl Serialize for AttachmentCompactAllOf
impl Serialize for AttachmentCompactAllOf
impl StructuralPartialEq for AttachmentCompactAllOf
Auto Trait Implementations
impl RefUnwindSafe for AttachmentCompactAllOf
impl Send for AttachmentCompactAllOf
impl Sync for AttachmentCompactAllOf
impl Unpin for AttachmentCompactAllOf
impl UnwindSafe for AttachmentCompactAllOf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more