pub struct Attachment {Show 16 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub title: Option<String>,
pub subtitle: Option<String>,
pub url: Option<String>,
pub creator: Option<Box<User>>,
pub external_user_creator: Option<Box<ExternalUser>>,
pub metadata: Option<Value>,
pub source: Option<Value>,
pub source_type: Option<String>,
pub group_by_source: Option<bool>,
pub original_issue: Option<Box<Issue>>,
pub issue: Option<Box<Issue>>,
pub body_data: Option<String>,
}Expand description
Issue attachment (e.g. support ticket, pull request).
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
title: Option<String>Content for the title line in the Linear attachment widget.
subtitle: Option<String>Content for the subtitle line in the Linear attachment widget.
url: Option<String>Location of the attachment which is also used as an identifier.
creator: Option<Box<User>>The creator of the attachment.
external_user_creator: Option<Box<ExternalUser>>The non-Linear user who created the attachment.
metadata: Option<Value>Custom metadata related to the attachment.
source: Option<Value>Information about the source which created the attachment.
source_type: Option<String>An accessor helper to source.type, defines the source type of the attachment.
group_by_source: Option<bool>Indicates if attachments for the same source application should be grouped in the Linear UI.
original_issue: Option<Box<Issue>>The issue this attachment was originally created on. Will be undefined if the attachment hasn’t been moved.
issue: Option<Box<Issue>>The issue this attachment belongs to.
body_data: Option<String>The body data of the attachment, if any.
Trait Implementations§
Source§impl Clone for Attachment
impl Clone for Attachment
Source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more