#[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>,
pub performed_by: Option<UserUnion>,
}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.
performed_by: Option<UserUnion>Represents the identity of the person who performed the action.
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) -> &[FieldValue]
pub fn fields(&self) -> &[FieldValue]
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .fields.is_none().
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.
sourcepub fn performed_by(&self) -> Option<&UserUnion>
pub fn performed_by(&self) -> Option<&UserUnion>
Represents the identity of the person who performed the action.
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 ==.impl StructuralPartialEq for CreateCaseInput
Auto Trait Implementations§
impl Freeze for CreateCaseInput
impl RefUnwindSafe for CreateCaseInput
impl Send for CreateCaseInput
impl Sync for CreateCaseInput
impl Unpin for CreateCaseInput
impl UnwindSafe for CreateCaseInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more