pub struct ProjectAttachment {
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<User>,
pub metadata: Option<Value>,
pub source: Option<Value>,
pub source_type: Option<String>,
}Expand description
An attachment (link, reference, or integration data) associated with a project. Attachments are typically created by integrations and contain metadata for rendering in the client.
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>Title of the attachment.
subtitle: Option<String>Optional subtitle of the attachment, providing additional context below the title.
url: Option<String>URL of the attachment.
creator: Option<User>The creator of the attachment.
metadata: Option<Value>Custom metadata related to the attachment. Contains user-facing content such as conversation messages or rendered attributes from integrations.
source: Option<Value>Metadata about the external source which created the attachment, including foreign identifiers used for syncing with external services. Null if the attachment was not created by an integration.
source_type: Option<String>The source type of the attachment, derived from the source metadata. Returns the integration type that created the attachment (e.g., ‘slack’, ‘github’), or null if not set.
Trait Implementations§
Source§impl Clone for ProjectAttachment
impl Clone for ProjectAttachment
Source§fn clone(&self) -> ProjectAttachment
fn clone(&self) -> ProjectAttachment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more