Enum rust_tdlib::types::CallServerType
source · [−]pub enum CallServerType {
TelegramReflector(CallServerTypeTelegramReflector),
Webrtc(CallServerTypeWebrtc),
// some variants omitted
}
Expand description
Describes the type of a call server
Variants
TelegramReflector(CallServerTypeTelegramReflector)
A Telegram call reflector
Webrtc(CallServerTypeWebrtc)
A WebRTC server
Implementations
Trait Implementations
sourceimpl AsRef<CallServerType> for CallServerType
impl AsRef<CallServerType> for CallServerType
sourcefn as_ref(&self) -> &CallServerType
fn as_ref(&self) -> &CallServerType
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for CallServerType
impl Clone for CallServerType
sourcefn clone(&self) -> CallServerType
fn clone(&self) -> CallServerType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CallServerType
impl Debug for CallServerType
sourceimpl Default for CallServerType
impl Default for CallServerType
sourceimpl<'de> Deserialize<'de> for CallServerType
impl<'de> Deserialize<'de> for CallServerType
sourcefn 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
sourceimpl Serialize for CallServerType
impl Serialize for CallServerType
Auto Trait Implementations
impl RefUnwindSafe for CallServerType
impl Send for CallServerType
impl Sync for CallServerType
impl Unpin for CallServerType
impl UnwindSafe for CallServerType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more