pub struct IceServers {
pub urls: Vec<String>,
pub username: Option<String>,
pub credential: Option<String>,
pub credential_type: Option<CredentialType>,
}Expand description
Configuration for a group of ICE servers.
Fields§
§urls: Vec<String>The ICE server URLs to use for discovering external candidates.
username: Option<String>The username to use for authentication.
credential: Option<String>The credential to use for authentication.
credential_type: Option<CredentialType>The credential type to use for authentication.
Trait Implementations§
Source§impl Clone for IceServers
impl Clone for IceServers
Source§fn clone(&self) -> IceServers
fn clone(&self) -> IceServers
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 IceServers
impl Debug for IceServers
Source§impl Default for IceServers
impl Default for IceServers
Source§fn default() -> IceServers
fn default() -> IceServers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IceServers
impl<'de> Deserialize<'de> for IceServers
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IceServers, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IceServers, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for IceServers
impl Serialize for IceServers
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 IceServers
impl RefUnwindSafe for IceServers
impl Send for IceServers
impl Sync for IceServers
impl Unpin for IceServers
impl UnwindSafe for IceServers
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