#[non_exhaustive]pub struct TelephonyDtmfEvents {
pub dtmf_events: Vec<TelephonyDtmf>,
/* private fields */
}Available on crate feature
participants only.Expand description
A wrapper of repeated TelephonyDtmf digits.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dtmf_events: Vec<TelephonyDtmf>A sequence of TelephonyDtmf digits.
Implementations§
Source§impl TelephonyDtmfEvents
impl TelephonyDtmfEvents
pub fn new() -> Self
Sourcepub fn set_dtmf_events<T, V>(self, v: T) -> Self
pub fn set_dtmf_events<T, V>(self, v: T) -> Self
Sets the value of dtmf_events.
§Example
ⓘ
use google_cloud_dialogflow_v2::model::TelephonyDtmf;
let x = TelephonyDtmfEvents::new().set_dtmf_events([
TelephonyDtmf::DtmfOne,
TelephonyDtmf::DtmfTwo,
TelephonyDtmf::DtmfThree,
]);Trait Implementations§
Source§impl Clone for TelephonyDtmfEvents
impl Clone for TelephonyDtmfEvents
Source§fn clone(&self) -> TelephonyDtmfEvents
fn clone(&self) -> TelephonyDtmfEvents
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelephonyDtmfEvents
impl Debug for TelephonyDtmfEvents
Source§impl Default for TelephonyDtmfEvents
impl Default for TelephonyDtmfEvents
Source§fn default() -> TelephonyDtmfEvents
fn default() -> TelephonyDtmfEvents
Returns the “default value” for a type. Read more
Source§impl Message for TelephonyDtmfEvents
impl Message for TelephonyDtmfEvents
Source§impl PartialEq for TelephonyDtmfEvents
impl PartialEq for TelephonyDtmfEvents
impl StructuralPartialEq for TelephonyDtmfEvents
Auto Trait Implementations§
impl Freeze for TelephonyDtmfEvents
impl RefUnwindSafe for TelephonyDtmfEvents
impl Send for TelephonyDtmfEvents
impl Sync for TelephonyDtmfEvents
impl Unpin for TelephonyDtmfEvents
impl UnwindSafe for TelephonyDtmfEvents
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
Mutably borrows from an owned value. Read more