#[non_exhaustive]pub struct CreateCaseInput {
pub domain_id: Option<String>,
pub template_id: Option<String>,
pub fields: Option<Vec<FieldValue>>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_id: Option<String>
The unique identifier of the Cases domain.
template_id: Option<String>
A unique identifier of a template.
fields: Option<Vec<FieldValue>>
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Implementations§
source§impl CreateCaseInput
impl CreateCaseInput
sourcepub fn template_id(&self) -> Option<&str>
pub fn template_id(&self) -> Option<&str>
A unique identifier of a template.
sourcepub fn fields(&self) -> Option<&[FieldValue]>
pub fn fields(&self) -> Option<&[FieldValue]>
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
source§impl CreateCaseInput
impl CreateCaseInput
sourcepub fn builder() -> CreateCaseInputBuilder
pub fn builder() -> CreateCaseInputBuilder
Creates a new builder-style object to manufacture CreateCaseInput
.
Trait Implementations§
source§impl Clone for CreateCaseInput
impl Clone for CreateCaseInput
source§fn clone(&self) -> CreateCaseInput
fn clone(&self) -> CreateCaseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCaseInput
impl Debug for CreateCaseInput
source§impl PartialEq for CreateCaseInput
impl PartialEq for CreateCaseInput
source§fn eq(&self, other: &CreateCaseInput) -> bool
fn eq(&self, other: &CreateCaseInput) -> bool
self
and other
values to be equal, and is used
by ==
.