#[non_exhaustive]pub enum ApplicationType {
Call,
}
Expand description
The type of matrix RTC application.
This is different to Application
because application contains all the information from the
m.call.member
event.
An Application
can be converted into an ApplicationType
using .into()
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Call
A VoIP call.
Trait Implementations§
source§impl Clone for ApplicationType
impl Clone for ApplicationType
source§fn clone(&self) -> ApplicationType
fn clone(&self) -> ApplicationType
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 ApplicationType
impl Debug for ApplicationType
source§impl<'de> Deserialize<'de> for ApplicationType
impl<'de> Deserialize<'de> for ApplicationType
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplicationType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplicationType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Application> for ApplicationType
impl From<Application> for ApplicationType
source§fn from(val: Application) -> ApplicationType
fn from(val: Application) -> ApplicationType
Converts to this type from the input type.
source§impl Serialize for ApplicationType
impl Serialize for ApplicationType
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ApplicationType
impl RefUnwindSafe for ApplicationType
impl Send for ApplicationType
impl Sync for ApplicationType
impl Unpin for ApplicationType
impl UnwindSafe for ApplicationType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)