[][src]Struct web_sys::RtcIceCandidateStats

#[repr(transparent)]pub struct RtcIceCandidateStats { /* fields omitted */ }

The RtcIceCandidateStats dictionary.

This API requires the following crate features to be activated: RtcIceCandidateStats

Methods

impl RtcIceCandidateStats[src]

pub fn new() -> Self[src]

Construct a new RtcIceCandidateStats.

This API requires the following crate features to be activated: RtcIceCandidateStats

pub fn id(&mut self, val: &str) -> &mut Self[src]

Change the id field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats

pub fn timestamp(&mut self, val: f64) -> &mut Self[src]

Change the timestamp field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats

pub fn type_(&mut self, val: RtcStatsType) -> &mut Self[src]

Change the type field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats, RtcStatsType

pub fn candidate_id(&mut self, val: &str) -> &mut Self[src]

Change the candidateId field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats

pub fn candidate_type(&mut self, val: RtcStatsIceCandidateType) -> &mut Self[src]

Change the candidateType field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats, RtcStatsIceCandidateType

pub fn component_id(&mut self, val: &str) -> &mut Self[src]

Change the componentId field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats

pub fn ip_address(&mut self, val: &str) -> &mut Self[src]

Change the ipAddress field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats

pub fn port_number(&mut self, val: i32) -> &mut Self[src]

Change the portNumber field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats

pub fn transport(&mut self, val: &str) -> &mut Self[src]

Change the transport field of this object.

This API requires the following crate features to be activated: RtcIceCandidateStats

Trait Implementations

impl AsRef<JsValue> for RtcIceCandidateStats[src]

impl AsRef<Object> for RtcIceCandidateStats[src]

impl AsRef<RtcIceCandidateStats> for RtcIceCandidateStats[src]

impl Clone for RtcIceCandidateStats[src]

impl Debug for RtcIceCandidateStats[src]

impl Deref for RtcIceCandidateStats[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for RtcIceCandidateStats[src]

impl From<JsValue> for RtcIceCandidateStats[src]

impl From<RtcIceCandidateStats> for JsValue[src]

impl From<RtcIceCandidateStats> for Object[src]

impl FromWasmAbi for RtcIceCandidateStats[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for RtcIceCandidateStats[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a RtcIceCandidateStats[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for RtcIceCandidateStats[src]

impl OptionFromWasmAbi for RtcIceCandidateStats[src]

impl OptionIntoWasmAbi for RtcIceCandidateStats[src]

impl<'a> OptionIntoWasmAbi for &'a RtcIceCandidateStats[src]

impl PartialEq<RtcIceCandidateStats> for RtcIceCandidateStats[src]

impl RefFromWasmAbi for RtcIceCandidateStats[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<RtcIceCandidateStats>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for RtcIceCandidateStats[src]

impl StructuralPartialEq for RtcIceCandidateStats[src]

impl WasmDescribe for RtcIceCandidateStats[src]

Auto Trait Implementations

impl RefUnwindSafe for RtcIceCandidateStats

impl !Send for RtcIceCandidateStats

impl !Sync for RtcIceCandidateStats

impl Unpin for RtcIceCandidateStats

impl UnwindSafe for RtcIceCandidateStats

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.