pub struct CustomerNeed {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 customer: Option<Box<Customer>>,
pub issue: Option<Box<Issue>>,
pub project: Option<Box<Project>>,
pub comment: Option<Box<Comment>>,
pub attachment: Option<Box<Attachment>>,
pub project_attachment: Option<Box<ProjectAttachment>>,
pub priority: Option<f64>,
pub body: Option<String>,
pub body_data: Option<String>,
pub creator: Option<Box<User>>,
pub original_issue: Option<Box<Issue>>,
pub url: Option<String>,
}Expand description
A customer need, expressed through a reference to an issue, project, or comment.
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.
customer: Option<Box<Customer>>The customer that this need is attached to.
issue: Option<Box<Issue>>The issue this need is referencing.
project: Option<Box<Project>>The project this need is referencing.
comment: Option<Box<Comment>>The comment this need is referencing.
attachment: Option<Box<Attachment>>The attachment this need is referencing.
project_attachment: Option<Box<ProjectAttachment>>The project attachment this need is referencing.
priority: Option<f64>Whether the customer need is important or not. 0 = Not important, 1 = Important.
body: Option<String>The need content in markdown format.
body_data: Option<String>Internal The content of the need as a Prosemirror document.
creator: Option<Box<User>>The creator of the customer need.
original_issue: Option<Box<Issue>>The issue this customer need was originally created on. Will be undefined if the customer need hasn’t been moved.
url: Option<String>The URL of the underlying attachment, if any
Trait Implementations§
Source§impl Clone for CustomerNeed
impl Clone for CustomerNeed
Source§fn clone(&self) -> CustomerNeed
fn clone(&self) -> CustomerNeed
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more