pub struct IceServer {
pub urls: Vec<String>,
pub username: Option<String>,
pub credential: Option<String>,
}Expand description
One ICE server, in the shape of WebRTC’s RTCIceServer.
Fields§
§urls: Vec<String>stun:, turn: or turns: URLs.
username: Option<String>TURN username, from the operator’s credentials file.
credential: Option<String>TURN credential, from the operator’s credentials file.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IceServer
impl<'de> Deserialize<'de> for IceServer
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
impl Eq for IceServer
impl StructuralPartialEq for IceServer
Auto Trait Implementations§
impl Freeze for IceServer
impl RefUnwindSafe for IceServer
impl Send for IceServer
impl Sync for IceServer
impl Unpin for IceServer
impl UnsafeUnpin for IceServer
impl UnwindSafe for IceServer
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