pub struct CallServerTypeWebrtc {
pub username: String,
pub password: String,
pub supports_turn: bool,
pub supports_stun: bool,
}
Expand description
A WebRTC server
Fields§
§username: String
Username to be used for authentication
password: String
Authentication password
supports_turn: bool
True, if the server supports TURN
supports_stun: bool
True, if the server supports STUN
Trait Implementations§
Source§impl Clone for CallServerTypeWebrtc
impl Clone for CallServerTypeWebrtc
Source§fn clone(&self) -> CallServerTypeWebrtc
fn clone(&self) -> CallServerTypeWebrtc
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 CallServerTypeWebrtc
impl Debug for CallServerTypeWebrtc
Source§impl Default for CallServerTypeWebrtc
impl Default for CallServerTypeWebrtc
Source§fn default() -> CallServerTypeWebrtc
fn default() -> CallServerTypeWebrtc
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallServerTypeWebrtc
impl<'de> Deserialize<'de> for CallServerTypeWebrtc
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
Source§impl PartialEq for CallServerTypeWebrtc
impl PartialEq for CallServerTypeWebrtc
Source§impl Serialize for CallServerTypeWebrtc
impl Serialize for CallServerTypeWebrtc
impl StructuralPartialEq for CallServerTypeWebrtc
Auto Trait Implementations§
impl Freeze for CallServerTypeWebrtc
impl RefUnwindSafe for CallServerTypeWebrtc
impl Send for CallServerTypeWebrtc
impl Sync for CallServerTypeWebrtc
impl Unpin for CallServerTypeWebrtc
impl UnwindSafe for CallServerTypeWebrtc
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