pub struct CallProtocol {
pub udp_p2p: bool,
pub udp_reflector: bool,
pub min_layer: i32,
pub max_layer: i32,
}
Expand description
Specifies the supported call protocols
Fields§
§udp_p2p: bool
True, if UDP peer-to-peer connections are supported
udp_reflector: bool
True, if connection through UDP reflectors is supported
min_layer: i32
Minimum supported API layer; use 65
max_layer: i32
Maximum supported API layer; use 65
Trait Implementations§
Source§impl Clone for CallProtocol
impl Clone for CallProtocol
Source§fn clone(&self) -> CallProtocol
fn clone(&self) -> CallProtocol
Returns a duplicate 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 CallProtocol
impl Debug for CallProtocol
Source§impl<'de> Deserialize<'de> for CallProtocol
impl<'de> Deserialize<'de> for CallProtocol
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 CallProtocol
impl RefUnwindSafe for CallProtocol
impl Send for CallProtocol
impl Sync for CallProtocol
impl Unpin for CallProtocol
impl UnwindSafe for CallProtocol
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