#[non_exhaustive]pub struct IssueCaseAttributes {Show 15 fields
pub archived_at: Option<DateTime<Utc>>,
pub closed_at: Option<DateTime<Utc>>,
pub created_at: Option<DateTime<Utc>>,
pub creation_source: Option<String>,
pub description: Option<String>,
pub due_date: Option<String>,
pub insights: Option<Vec<IssueCaseInsight>>,
pub jira_issue: Option<IssueCaseJiraIssue>,
pub key: Option<String>,
pub modified_at: Option<DateTime<Utc>>,
pub priority: Option<CasePriority>,
pub status: Option<CaseStatus>,
pub title: Option<String>,
pub type_: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Object containing the information of a case.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.archived_at: Option<DateTime<Utc>>
Timestamp of when the case was archived.
closed_at: Option<DateTime<Utc>>
Timestamp of when the case was closed.
created_at: Option<DateTime<Utc>>
Timestamp of when the case was created.
creation_source: Option<String>
Source of the case creation.
description: Option<String>
Description of the case.
due_date: Option<String>
Due date of the case.
insights: Option<Vec<IssueCaseInsight>>
Insights of the case.
jira_issue: Option<IssueCaseJiraIssue>
Jira issue of the case.
key: Option<String>
Key of the case.
modified_at: Option<DateTime<Utc>>
Timestamp of when the case was last modified.
priority: Option<CasePriority>
Case priority
status: Option<CaseStatus>
Case status
title: Option<String>
Title of the case.
type_: Option<String>
Type of the case.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl IssueCaseAttributes
impl IssueCaseAttributes
pub fn new() -> IssueCaseAttributes
pub fn archived_at(self, value: DateTime<Utc>) -> Self
pub fn closed_at(self, value: DateTime<Utc>) -> Self
pub fn created_at(self, value: DateTime<Utc>) -> Self
pub fn creation_source(self, value: String) -> Self
pub fn description(self, value: String) -> Self
pub fn due_date(self, value: String) -> Self
pub fn insights(self, value: Vec<IssueCaseInsight>) -> Self
pub fn jira_issue(self, value: IssueCaseJiraIssue) -> Self
pub fn key(self, value: String) -> Self
pub fn modified_at(self, value: DateTime<Utc>) -> Self
pub fn priority(self, value: CasePriority) -> Self
pub fn status(self, value: CaseStatus) -> Self
pub fn title(self, value: String) -> Self
pub fn type_(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for IssueCaseAttributes
impl Clone for IssueCaseAttributes
Source§fn clone(&self) -> IssueCaseAttributes
fn clone(&self) -> IssueCaseAttributes
Returns a duplicate of the value. Read more
1.0.0 · 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 IssueCaseAttributes
impl Debug for IssueCaseAttributes
Source§impl Default for IssueCaseAttributes
impl Default for IssueCaseAttributes
Source§impl<'de> Deserialize<'de> for IssueCaseAttributes
impl<'de> Deserialize<'de> for IssueCaseAttributes
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
Source§impl PartialEq for IssueCaseAttributes
impl PartialEq for IssueCaseAttributes
Source§impl Serialize for IssueCaseAttributes
impl Serialize for IssueCaseAttributes
impl StructuralPartialEq for IssueCaseAttributes
Auto Trait Implementations§
impl Freeze for IssueCaseAttributes
impl RefUnwindSafe for IssueCaseAttributes
impl Send for IssueCaseAttributes
impl Sync for IssueCaseAttributes
impl Unpin for IssueCaseAttributes
impl UnwindSafe for IssueCaseAttributes
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