pub struct ClickUpAttachment {
pub id: String,
pub title: Option<String>,
pub url: Option<String>,
pub size: Option<Value>,
pub extension: Option<String>,
pub mimetype: Option<String>,
pub date: Option<String>,
pub user: Option<ClickUpUser>,
}Expand description
ClickUp task attachment entry as returned on the task payload.
Fields§
§id: String§title: Option<String>§url: Option<String>Direct download URL.
size: Option<Value>Size in bytes (API sometimes returns a string).
extension: Option<String>File extension (e.g. “png”).
mimetype: Option<String>§date: Option<String>Creation timestamp (epoch ms as string in ClickUp’s responses).
user: Option<ClickUpUser>Author display info, if present.
Trait Implementations§
Source§impl Clone for ClickUpAttachment
impl Clone for ClickUpAttachment
Source§fn clone(&self) -> ClickUpAttachment
fn clone(&self) -> ClickUpAttachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClickUpAttachment
impl Debug for ClickUpAttachment
Source§impl<'de> Deserialize<'de> for ClickUpAttachment
impl<'de> Deserialize<'de> for ClickUpAttachment
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
Auto Trait Implementations§
impl Freeze for ClickUpAttachment
impl RefUnwindSafe for ClickUpAttachment
impl Send for ClickUpAttachment
impl Sync for ClickUpAttachment
impl Unpin for ClickUpAttachment
impl UnsafeUnpin for ClickUpAttachment
impl UnwindSafe for ClickUpAttachment
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