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
sourceimpl Clone for RTCIceCandidateInit
impl Clone for RTCIceCandidateInit
sourcefn clone(&self) -> RTCIceCandidateInit
fn clone(&self) -> RTCIceCandidateInit
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RTCIceCandidateInit
impl Debug for RTCIceCandidateInit
sourceimpl Default for RTCIceCandidateInit
impl Default for RTCIceCandidateInit
sourcefn default() -> RTCIceCandidateInit
fn default() -> RTCIceCandidateInit
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RTCIceCandidateInit
impl<'de> Deserialize<'de> for RTCIceCandidateInit
sourcefn 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
sourceimpl PartialEq<RTCIceCandidateInit> for RTCIceCandidateInit
impl PartialEq<RTCIceCandidateInit> for RTCIceCandidateInit
sourcefn eq(&self, other: &RTCIceCandidateInit) -> bool
fn eq(&self, other: &RTCIceCandidateInit) -> bool
sourceimpl Serialize for RTCIceCandidateInit
impl Serialize for RTCIceCandidateInit
impl Eq for RTCIceCandidateInit
impl StructuralEq for RTCIceCandidateInit
impl StructuralPartialEq for RTCIceCandidateInit
Auto Trait Implementations
impl RefUnwindSafe for RTCIceCandidateInit
impl Send for RTCIceCandidateInit
impl Sync for RTCIceCandidateInit
impl Unpin for RTCIceCandidateInit
impl UnwindSafe for RTCIceCandidateInit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more