pub struct DiagnosticsSource {Show 13 fields
pub active: bool,
pub active_speaker: Option<DiagnosticsActiveSpeaker>,
pub current_incoming_bitrate_bps: u64,
pub encodings: Vec<DiagnosticsSourceEncoding>,
pub last_packet_age_ms: Option<u64>,
pub last_keyframe_age_ms: Option<u64>,
pub media_kind: DiagnosticsMediaKind,
pub mid: Option<String>,
pub owner_user_id: UserId,
pub source_id: u64,
pub stream_id: String,
pub transport_media_id: Option<u64>,
pub video_bitrate_cap_bps: Option<u64>,
}Fields§
§active: bool§active_speaker: Option<DiagnosticsActiveSpeaker>§current_incoming_bitrate_bps: u64§encodings: Vec<DiagnosticsSourceEncoding>§last_packet_age_ms: Option<u64>§last_keyframe_age_ms: Option<u64>§media_kind: DiagnosticsMediaKind§mid: Option<String>§owner_user_id: UserId§source_id: u64§stream_id: String§transport_media_id: Option<u64>§video_bitrate_cap_bps: Option<u64>Trait Implementations§
Source§impl Clone for DiagnosticsSource
impl Clone for DiagnosticsSource
Source§fn clone(&self) -> DiagnosticsSource
fn clone(&self) -> DiagnosticsSource
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 DiagnosticsSource
impl Debug for DiagnosticsSource
Source§impl<'de> Deserialize<'de> for DiagnosticsSource
impl<'de> Deserialize<'de> for DiagnosticsSource
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagnosticsSource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagnosticsSource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DiagnosticsSource
impl PartialEq for DiagnosticsSource
Source§impl Serialize for DiagnosticsSource
impl Serialize for DiagnosticsSource
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DiagnosticsSource
impl StructuralPartialEq for DiagnosticsSource
Auto Trait Implementations§
impl Freeze for DiagnosticsSource
impl RefUnwindSafe for DiagnosticsSource
impl Send for DiagnosticsSource
impl Sync for DiagnosticsSource
impl Unpin for DiagnosticsSource
impl UnsafeUnpin for DiagnosticsSource
impl UnwindSafe for DiagnosticsSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more