Struct webrtc::ice_transport::ice_candidate::RTCIceCandidateInit
source · pub struct RTCIceCandidateInit {
pub candidate: String,
pub sdp_mid: Option<String>,
pub sdp_mline_index: Option<u16>,
pub username_fragment: Option<String>,
}
Expand description
ICECandidateInit is used to serialize ice candidates
Fields§
§candidate: String
§sdp_mid: Option<String>
§sdp_mline_index: Option<u16>
§username_fragment: Option<String>
Trait Implementations§
source§impl Clone for RTCIceCandidateInit
impl Clone for RTCIceCandidateInit
source§fn clone(&self) -> RTCIceCandidateInit
fn clone(&self) -> RTCIceCandidateInit
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 RTCIceCandidateInit
impl Debug for RTCIceCandidateInit
source§impl Default for RTCIceCandidateInit
impl Default for RTCIceCandidateInit
source§fn default() -> RTCIceCandidateInit
fn default() -> RTCIceCandidateInit
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RTCIceCandidateInit
impl<'de> Deserialize<'de> for RTCIceCandidateInit
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 PartialEq<RTCIceCandidateInit> for RTCIceCandidateInit
impl PartialEq<RTCIceCandidateInit> for RTCIceCandidateInit
source§fn eq(&self, other: &RTCIceCandidateInit) -> bool
fn eq(&self, other: &RTCIceCandidateInit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.