Enum rtdlib::types::CallServerType [−][src]
pub enum CallServerType {
TelegramReflector(CallServerTypeTelegramReflector),
Webrtc(CallServerTypeWebrtc),
// some variants omitted
}
Expand description
Describes the type of a call server
Variants
A Telegram call reflector
Tuple Fields of TelegramReflector
A WebRTC server
Tuple Fields of Webrtc
Implementations
pub fn on_telegram_reflector<F: FnOnce(&CallServerTypeTelegramReflector)>(
&self,
fnc: F
) -> &Self
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<CallServerType, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CallServerType, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more