#[non_exhaustive]pub struct SendVoiceMessageInput {
pub caller_id: Option<String>,
pub configuration_set_name: Option<String>,
pub content: Option<VoiceMessageContent>,
pub destination_phone_number: Option<String>,
pub origination_phone_number: Option<String>,
}
Expand description
SendVoiceMessageRequest
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.caller_id: Option<String>
The phone number that appears on recipients’ devices when they receive the message.
configuration_set_name: Option<String>
The name of the configuration set that you want to use to send the message.
content: Option<VoiceMessageContent>
An object that contains a voice message and information about the recipient that you want to send it to.
destination_phone_number: Option<String>
The phone number that you want to send the voice message to.
origination_phone_number: Option<String>
The phone number that Amazon Pinpoint should use to send the voice message. This isn’t necessarily the phone number that appears on recipients’ devices when they receive the message, because you can specify a CallerId parameter in the request.
Implementations§
source§impl SendVoiceMessageInput
impl SendVoiceMessageInput
sourcepub fn caller_id(&self) -> Option<&str>
pub fn caller_id(&self) -> Option<&str>
The phone number that appears on recipients’ devices when they receive the message.
sourcepub fn configuration_set_name(&self) -> Option<&str>
pub fn configuration_set_name(&self) -> Option<&str>
The name of the configuration set that you want to use to send the message.
sourcepub fn content(&self) -> Option<&VoiceMessageContent>
pub fn content(&self) -> Option<&VoiceMessageContent>
An object that contains a voice message and information about the recipient that you want to send it to.
sourcepub fn destination_phone_number(&self) -> Option<&str>
pub fn destination_phone_number(&self) -> Option<&str>
The phone number that you want to send the voice message to.
sourcepub fn origination_phone_number(&self) -> Option<&str>
pub fn origination_phone_number(&self) -> Option<&str>
The phone number that Amazon Pinpoint should use to send the voice message. This isn’t necessarily the phone number that appears on recipients’ devices when they receive the message, because you can specify a CallerId parameter in the request.
source§impl SendVoiceMessageInput
impl SendVoiceMessageInput
sourcepub fn builder() -> SendVoiceMessageInputBuilder
pub fn builder() -> SendVoiceMessageInputBuilder
Creates a new builder-style object to manufacture SendVoiceMessageInput
.
Trait Implementations§
source§impl Clone for SendVoiceMessageInput
impl Clone for SendVoiceMessageInput
source§fn clone(&self) -> SendVoiceMessageInput
fn clone(&self) -> SendVoiceMessageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SendVoiceMessageInput
impl Debug for SendVoiceMessageInput
source§impl PartialEq for SendVoiceMessageInput
impl PartialEq for SendVoiceMessageInput
source§fn eq(&self, other: &SendVoiceMessageInput) -> bool
fn eq(&self, other: &SendVoiceMessageInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SendVoiceMessageInput
Auto Trait Implementations§
impl Freeze for SendVoiceMessageInput
impl RefUnwindSafe for SendVoiceMessageInput
impl Send for SendVoiceMessageInput
impl Sync for SendVoiceMessageInput
impl Unpin for SendVoiceMessageInput
impl UnwindSafe for SendVoiceMessageInput
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