Struct webrtc::ice_transport::ice_server::RTCIceServer
source · pub struct RTCIceServer {
pub urls: Vec<String>,
pub username: String,
pub credential: String,
pub credential_type: RTCIceCredentialType,
}
Expand description
ICEServer describes a single STUN and TURN server that can be used by the ICEAgent to establish a connection with a peer.
Fields§
§urls: Vec<String>
§username: String
§credential: String
§credential_type: RTCIceCredentialType
Trait Implementations§
source§impl Clone for RTCIceServer
impl Clone for RTCIceServer
source§fn clone(&self) -> RTCIceServer
fn clone(&self) -> RTCIceServer
Returns a copy 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 RTCIceServer
impl Debug for RTCIceServer
source§impl Default for RTCIceServer
impl Default for RTCIceServer
source§fn default() -> RTCIceServer
fn default() -> RTCIceServer
Returns the “default value” for a type. Read more