#[non_exhaustive]pub enum ApplicationType {
Call,
}
Available on crate features
events
and unstable-msc4075
only.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