Struct asana::models::attachment_compact::AttachmentCompact
source · [−]pub struct AttachmentCompact {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub resource_subtype: Option<Value>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
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 AttachmentCompact
impl AttachmentCompact
pub fn new() -> AttachmentCompact
Trait Implementations
sourceimpl Clone for AttachmentCompact
impl Clone for AttachmentCompact
sourcefn clone(&self) -> AttachmentCompact
fn clone(&self) -> AttachmentCompact
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 AttachmentCompact
impl Debug for AttachmentCompact
sourceimpl<'de> Deserialize<'de> for AttachmentCompact
impl<'de> Deserialize<'de> for AttachmentCompact
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<AttachmentCompact> for AttachmentCompact
impl PartialEq<AttachmentCompact> for AttachmentCompact
sourcefn eq(&self, other: &AttachmentCompact) -> bool
fn eq(&self, other: &AttachmentCompact) -> bool
sourceimpl Serialize for AttachmentCompact
impl Serialize for AttachmentCompact
impl StructuralPartialEq for AttachmentCompact
Auto Trait Implementations
impl RefUnwindSafe for AttachmentCompact
impl Send for AttachmentCompact
impl Sync for AttachmentCompact
impl Unpin for AttachmentCompact
impl UnwindSafe for AttachmentCompact
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