#[non_exhaustive]pub struct AddCommunicationToCaseInput {
pub case_id: Option<String>,
pub communication_body: Option<String>,
pub cc_email_addresses: Option<Vec<String>>,
pub attachment_set_id: 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.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
communication_body: Option<String>
The body of an email communication to add to the support case.
cc_email_addresses: Option<Vec<String>>
The email addresses in the CC line of an email to be added to the support case.
attachment_set_id: Option<String>
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
Implementations§
source§impl AddCommunicationToCaseInput
impl AddCommunicationToCaseInput
sourcepub fn case_id(&self) -> Option<&str>
pub fn case_id(&self) -> Option<&str>
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
sourcepub fn communication_body(&self) -> Option<&str>
pub fn communication_body(&self) -> Option<&str>
The body of an email communication to add to the support case.
sourcepub fn cc_email_addresses(&self) -> &[String]
pub fn cc_email_addresses(&self) -> &[String]
The email addresses in the CC line of an email to be added to the support case.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cc_email_addresses.is_none()
.
sourcepub fn attachment_set_id(&self) -> Option<&str>
pub fn attachment_set_id(&self) -> Option<&str>
The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
source§impl AddCommunicationToCaseInput
impl AddCommunicationToCaseInput
sourcepub fn builder() -> AddCommunicationToCaseInputBuilder
pub fn builder() -> AddCommunicationToCaseInputBuilder
Creates a new builder-style object to manufacture AddCommunicationToCaseInput
.
Trait Implementations§
source§impl Clone for AddCommunicationToCaseInput
impl Clone for AddCommunicationToCaseInput
source§fn clone(&self) -> AddCommunicationToCaseInput
fn clone(&self) -> AddCommunicationToCaseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddCommunicationToCaseInput
impl Debug for AddCommunicationToCaseInput
source§impl PartialEq for AddCommunicationToCaseInput
impl PartialEq for AddCommunicationToCaseInput
source§fn eq(&self, other: &AddCommunicationToCaseInput) -> bool
fn eq(&self, other: &AddCommunicationToCaseInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddCommunicationToCaseInput
Auto Trait Implementations§
impl Freeze for AddCommunicationToCaseInput
impl RefUnwindSafe for AddCommunicationToCaseInput
impl Send for AddCommunicationToCaseInput
impl Sync for AddCommunicationToCaseInput
impl Unpin for AddCommunicationToCaseInput
impl UnwindSafe for AddCommunicationToCaseInput
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