#[non_exhaustive]pub struct CallCapabilities {
pub dtmf: bool,
}
Expand description
The capabilities of a client in a VoIP call.
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: bool
Whether this client supports DTMF.
Defaults to false
.
Implementations§
Source§impl CallCapabilities
impl CallCapabilities
Sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Whether this CallCapabilities
only contains default values.
Trait Implementations§
Source§impl Clone for CallCapabilities
impl Clone for CallCapabilities
Source§fn clone(&self) -> CallCapabilities
fn clone(&self) -> CallCapabilities
Returns a copy 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 CallCapabilities
impl Debug for CallCapabilities
Source§impl Default for CallCapabilities
impl Default for CallCapabilities
Source§fn default() -> CallCapabilities
fn default() -> CallCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallCapabilities
impl<'de> Deserialize<'de> for CallCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CallCapabilities
impl RefUnwindSafe for CallCapabilities
impl Send for CallCapabilities
impl Sync for CallCapabilities
impl Unpin for CallCapabilities
impl UnwindSafe for CallCapabilities
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