Struct aws_sdk_connectcampaigns::types::DialRequest
source · #[non_exhaustive]pub struct DialRequest {
pub client_token: String,
pub phone_number: String,
pub expiration_time: DateTime,
pub attributes: HashMap<String, String>,
}
Expand description
A dial request for a campaign.
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.client_token: String
Client provided parameter used for idempotency. Its value must be unique for each request.
phone_number: String
The phone number of the customer, in E.164 format.
expiration_time: DateTime
Timestamp with no UTC offset or timezone
attributes: HashMap<String, String>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
Implementations§
source§impl DialRequest
impl DialRequest
sourcepub fn client_token(&self) -> &str
pub fn client_token(&self) -> &str
Client provided parameter used for idempotency. Its value must be unique for each request.
sourcepub fn phone_number(&self) -> &str
pub fn phone_number(&self) -> &str
The phone number of the customer, in E.164 format.
sourcepub fn expiration_time(&self) -> &DateTime
pub fn expiration_time(&self) -> &DateTime
Timestamp with no UTC offset or timezone
sourcepub fn attributes(&self) -> &HashMap<String, String>
pub fn attributes(&self) -> &HashMap<String, String>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
source§impl DialRequest
impl DialRequest
sourcepub fn builder() -> DialRequestBuilder
pub fn builder() -> DialRequestBuilder
Creates a new builder-style object to manufacture DialRequest
.
Trait Implementations§
source§impl Clone for DialRequest
impl Clone for DialRequest
source§fn clone(&self) -> DialRequest
fn clone(&self) -> DialRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DialRequest
impl Debug for DialRequest
source§impl PartialEq for DialRequest
impl PartialEq for DialRequest
source§fn eq(&self, other: &DialRequest) -> bool
fn eq(&self, other: &DialRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DialRequest
Auto Trait Implementations§
impl Freeze for DialRequest
impl RefUnwindSafe for DialRequest
impl Send for DialRequest
impl Sync for DialRequest
impl Unpin for DialRequest
impl UnwindSafe for DialRequest
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