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
source§impl<'de> Deserialize<'de> for RTCIceServer
impl<'de> Deserialize<'de> for RTCIceServer
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 Hash for RTCIceServer
impl Hash for RTCIceServer
Auto Trait Implementations§
impl RefUnwindSafe for RTCIceServer
impl Send for RTCIceServer
impl Sync for RTCIceServer
impl Unpin for RTCIceServer
impl UnwindSafe for RTCIceServer
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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