#[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 ==
.