Struct medea_client_api_proto::stats::RtcStat[][src]

pub struct RtcStat {
    pub id: StatId,
    pub timestamp: HighResTimeStamp,
    pub stats: RtcStatsType,
}

Represents the stats object constructed by inspecting a specific monitored object.

Full doc on W3C.

Fields

id: StatId

Unique ID that is associated with the object that was inspected to produce this RTCStats object.

timestamp: HighResTimeStamp

Timestamp associated with this object.

The time is relative to the UNIX epoch (Jan 1, 1970, UTC).

For statistics that came from a remote source (e.g., from received RTCP packets), timestamp represents the time at which the information arrived at the local endpoint. The remote timestamp can be found in an additional field in an RtcStat-derived dictionary, if applicable.

stats: RtcStatsType

Actual stats of this RtcStat.

All possible stats are described in the RtcStatsType enum.

Trait Implementations

impl Clone for RtcStat[src]

impl Debug for RtcStat[src]

impl<'de> Deserialize<'de> for RtcStat[src]

impl Hash for RtcStat[src]

impl PartialEq<RtcStat> for RtcStat[src]

impl Serialize for RtcStat[src]

impl StructuralPartialEq for RtcStat[src]

Auto Trait Implementations

impl RefUnwindSafe for RtcStat

impl Send for RtcStat

impl Sync for RtcStat

impl Unpin for RtcStat

impl UnwindSafe for RtcStat

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.