pub struct RtcStat {
pub kind: String,
pub id: String,
pub members: HashMap<String, AttributeValue>,
}Expand description
One entry of a WebRTC RTCStatsReport, as the platform got it: the entry’s type, id and
its standard members (W3C webrtc-stats names; nested maps flattened with a dot, e.g.
qualityLimitationDurations.cpu). Numbers may arrive as Int, Double or numeric Str.
Fields§
§kind: StringThe stat’s type: inbound-rtp, candidate-pair, codec, …
id: StringThe stat’s id, which other stats name (codecId, localId, mediaSourceId).
members: HashMap<String, AttributeValue>Its members by W3C name.
Trait Implementations§
impl StructuralPartialEq for RtcStat
Auto Trait Implementations§
impl Forget for RtcStat
impl Freeze for RtcStat
impl Move for RtcStat
impl RefUnwindSafe for RtcStat
impl Send for RtcStat
impl Sync for RtcStat
impl Unpin for RtcStat
impl UnsafeUnpin for RtcStat
impl UnwindSafe for RtcStat
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