pub struct AttachmentResponseAllOf {
pub created_at: Option<String>,
pub download_url: Option<String>,
pub host: Option<String>,
pub parent: Option<Box<TaskCompact>>,
pub view_url: Option<String>,
}
Fields
created_at: Option<String>
The time at which this resource was created.
download_url: Option<String>
The URL containing the content of the attachment. Note: May be null if the attachment is hosted by Box. If present, this URL may only be valid for two minutes from the time of retrieval. You should avoid persisting this URL somewhere and just refresh it on demand to ensure you do not keep stale URLs.
host: Option<String>
The service hosting the attachment. Valid values are asana
, dropbox
, gdrive
and box
.
parent: Option<Box<TaskCompact>>
view_url: Option<String>
The URL where the attachment can be viewed, which may be friendlier to users in a browser than just directing them to a raw file. May be null if no view URL exists for the service.
Implementations
sourceimpl AttachmentResponseAllOf
impl AttachmentResponseAllOf
pub fn new() -> AttachmentResponseAllOf
Trait Implementations
sourceimpl Clone for AttachmentResponseAllOf
impl Clone for AttachmentResponseAllOf
sourcefn clone(&self) -> AttachmentResponseAllOf
fn clone(&self) -> AttachmentResponseAllOf
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 AttachmentResponseAllOf
impl Debug for AttachmentResponseAllOf
sourceimpl<'de> Deserialize<'de> for AttachmentResponseAllOf
impl<'de> Deserialize<'de> for AttachmentResponseAllOf
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<AttachmentResponseAllOf> for AttachmentResponseAllOf
impl PartialEq<AttachmentResponseAllOf> for AttachmentResponseAllOf
sourcefn eq(&self, other: &AttachmentResponseAllOf) -> bool
fn eq(&self, other: &AttachmentResponseAllOf) -> bool
sourceimpl Serialize for AttachmentResponseAllOf
impl Serialize for AttachmentResponseAllOf
impl StructuralPartialEq for AttachmentResponseAllOf
Auto Trait Implementations
impl RefUnwindSafe for AttachmentResponseAllOf
impl Send for AttachmentResponseAllOf
impl Sync for AttachmentResponseAllOf
impl Unpin for AttachmentResponseAllOf
impl UnwindSafe for AttachmentResponseAllOf
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