Struct aws_sdk_alexaforbusiness::input::CreateContactInput [−][src]
#[non_exhaustive]pub struct CreateContactInput {
pub display_name: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub phone_number: Option<String>,
pub phone_numbers: Option<Vec<PhoneNumber>>,
pub sip_addresses: Option<Vec<SipAddress>>,
pub client_request_token: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.display_name: Option<String>
The name of the contact to display on the console.
first_name: Option<String>
The first name of the contact that is used to call the contact on the device.
last_name: Option<String>
The last name of the contact that is used to call the contact on the device.
phone_number: Option<String>
The phone number of the contact in E.164 format. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
phone_numbers: Option<Vec<PhoneNumber>>
The list of phone numbers for the contact.
sip_addresses: Option<Vec<SipAddress>>
The list of SIP addresses for the contact.
client_request_token: Option<String>
A unique, user-specified identifier for this request that ensures idempotency.
The tags to be added to the specified resource. Do not provide system tags.
Implementations
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateContact, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateContact, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateContact
>
Creates a new builder-style object to manufacture CreateContactInput
The name of the contact to display on the console.
The first name of the contact that is used to call the contact on the device.
The last name of the contact that is used to call the contact on the device.
The phone number of the contact in E.164 format. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.
The list of phone numbers for the contact.
The list of SIP addresses for the contact.
A unique, user-specified identifier for this request that ensures idempotency.
The tags to be added to the specified resource. Do not provide system tags.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateContactInput
impl Send for CreateContactInput
impl Sync for CreateContactInput
impl Unpin for CreateContactInput
impl UnwindSafe for CreateContactInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more