Struct rusoto_support::CaseDetails
source · [−]pub struct CaseDetails {
pub case_id: Option<String>,
pub category_code: Option<String>,
pub cc_email_addresses: Option<Vec<String>>,
pub display_id: Option<String>,
pub language: Option<String>,
pub recent_communications: Option<RecentCaseCommunications>,
pub service_code: Option<String>,
pub severity_code: Option<String>,
pub status: Option<String>,
pub subject: Option<String>,
pub submitted_by: Option<String>,
pub time_created: Option<String>,
}
Expand description
A JSON-formatted object that contains the metadata for a support case. It is contained in the response from a DescribeCases request. CaseDetails contains the following fields:
-
caseId - The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47.
-
categoryCode - The category of problem for the support case. Corresponds to the
CategoryCode
values returned by a call to DescribeServices. -
displayId - The identifier for the case on pages in the AWS Support Center.
-
language - The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
-
nextToken - A resumption point for pagination.
-
recentCommunications - One or more Communication objects. Fields of these objects are
attachments
,body
,caseId
,submittedBy
, andtimeCreated
. -
serviceCode - The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
-
severityCode - The severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels. The possible values are:
low
,normal
,high
,urgent
, andcritical
. -
status - The status of the case in the AWS Support Center. Valid values:
-
opened
-
pending-customer-action
-
reopened
-
resolved
-
unassigned
-
work-in-progress
-
-
subject - The subject line of the case.
-
submittedBy - The email address of the account that submitted the case.
-
timeCreated - The time the case was created, in ISO-8601 format.
Fields
case_id: Option<String>
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
category_code: Option<String>
The category of problem for the support case.
cc_email_addresses: Option<Vec<String>>
The email addresses that receive copies of communication about the case.
display_id: Option<String>
The ID displayed for the case in the AWS Support Center. This is a numeric string.
language: Option<String>
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
recent_communications: Option<RecentCaseCommunications>
The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
service_code: Option<String>
The code for the AWS service. You can get a list of codes and the corresponding service names by calling DescribeServices.
severity_code: Option<String>
The code for the severity level returned by the call to DescribeSeverityLevels.
status: Option<String>
The status of the case.
Valid values:
-
opened
-
pending-customer-action
-
reopened
-
resolved
-
unassigned
-
work-in-progress
subject: Option<String>
The subject line for the case in the AWS Support Center.
submitted_by: Option<String>
The email address of the account that submitted the case.
time_created: Option<String>
The time that the case was created in the AWS Support Center.
Trait Implementations
sourceimpl Clone for CaseDetails
impl Clone for CaseDetails
sourcefn clone(&self) -> CaseDetails
fn clone(&self) -> CaseDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CaseDetails
impl Debug for CaseDetails
sourceimpl Default for CaseDetails
impl Default for CaseDetails
sourcefn default() -> CaseDetails
fn default() -> CaseDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CaseDetails
impl<'de> Deserialize<'de> for CaseDetails
sourcefn 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
sourceimpl PartialEq<CaseDetails> for CaseDetails
impl PartialEq<CaseDetails> for CaseDetails
sourcefn eq(&self, other: &CaseDetails) -> bool
fn eq(&self, other: &CaseDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CaseDetails) -> bool
fn ne(&self, other: &CaseDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for CaseDetails
Auto Trait Implementations
impl RefUnwindSafe for CaseDetails
impl Send for CaseDetails
impl Sync for CaseDetails
impl Unpin for CaseDetails
impl UnwindSafe for CaseDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more