pub struct IceServer {
pub urls: Vec<String>,
pub username: Option<String>,
pub credential: Option<String>,
}Expand description
A server which may be used by the ICE agent; these are typically STUN and/or TURN servers.
Fields§
§urls: Vec<String>This required property is either a single string or an array of strings, each specifying a URL which can be used to connect to the server.
username: Option<String>If the object represents a TURN server, then this is the username to use during the authentication.
credential: Option<String>The credential to use when logging into the server. This is only used if the object represents a TURN server.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IceServer
impl RefUnwindSafe for IceServer
impl Send for IceServer
impl Sync for IceServer
impl Unpin 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