pub struct IceCandidate {
pub candidate: String,
pub sdp_m_line_index: Option<u16>,
pub sdp_mid: Option<String>,
}
Expand description
Representation of RTCIceCandidateInit object.
Fields§
§candidate: String
candidate-attribute
of this IceCandidate
.
If this IceCandidate
represents an end-of-candidates indication,
then it’s an empty string.
sdp_m_line_index: Option<u16>
Index (starting at zero) of the media description in the SDP this
IceCandidate
is associated with.
sdp_mid: Option<String>
[Media stream “identification-tag”] for the media component this
IceCandidate
is associated with.
Trait Implementations§
Source§impl Clone for IceCandidate
impl Clone for IceCandidate
Source§fn clone(&self) -> IceCandidate
fn clone(&self) -> IceCandidate
Returns a duplicate 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 IceCandidate
impl Debug for IceCandidate
Source§impl<'de> Deserialize<'de> for IceCandidate
impl<'de> Deserialize<'de> for IceCandidate
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 IceCandidate
impl Hash for IceCandidate
Source§impl PartialEq for IceCandidate
impl PartialEq for IceCandidate
Source§impl Serialize for IceCandidate
impl Serialize for IceCandidate
impl Eq for IceCandidate
impl StructuralPartialEq for IceCandidate
Auto Trait Implementations§
impl Freeze for IceCandidate
impl RefUnwindSafe for IceCandidate
impl Send for IceCandidate
impl Sync for IceCandidate
impl Unpin for IceCandidate
impl UnwindSafe for IceCandidate
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