pub struct AnalyticsStat {Show 14 fields
pub id: String,
pub analytics_key: String,
pub kind: i32,
pub time_stamp: Option<Timestamp>,
pub node: String,
pub room_id: String,
pub room_name: String,
pub participant_id: String,
pub track_id: String,
pub score: f32,
pub streams: Vec<AnalyticsStream>,
pub mime: String,
pub min_score: f32,
pub median_score: f32,
}Fields§
§id: Stringunique id for this stat
analytics_key: String§kind: i32§time_stamp: Option<Timestamp>§node: String§room_id: String§room_name: String§participant_id: String§track_id: String§score: f32average score
streams: Vec<AnalyticsStream>§mime: String§min_score: f32§median_score: f32Implementations§
Source§impl AnalyticsStat
impl AnalyticsStat
Sourcepub fn kind(&self) -> StreamType
pub fn kind(&self) -> StreamType
Returns the enum value of kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_kind(&mut self, value: StreamType)
pub fn set_kind(&mut self, value: StreamType)
Sets kind to the provided enum value.
Trait Implementations§
Source§impl Clone for AnalyticsStat
impl Clone for AnalyticsStat
Source§fn clone(&self) -> AnalyticsStat
fn clone(&self) -> AnalyticsStat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnalyticsStat
impl Debug for AnalyticsStat
Source§impl Default for AnalyticsStat
impl Default for AnalyticsStat
§impl<'de> Deserialize<'de> for AnalyticsStat
impl<'de> Deserialize<'de> for AnalyticsStat
§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 Message for AnalyticsStat
impl Message for AnalyticsStat
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for AnalyticsStat
impl PartialEq for AnalyticsStat
Source§fn eq(&self, other: &AnalyticsStat) -> bool
fn eq(&self, other: &AnalyticsStat) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl Serialize for AnalyticsStat
impl Serialize for AnalyticsStat
impl StructuralPartialEq for AnalyticsStat
Auto Trait Implementations§
impl Freeze for AnalyticsStat
impl RefUnwindSafe for AnalyticsStat
impl Send for AnalyticsStat
impl Sync for AnalyticsStat
impl Unpin for AnalyticsStat
impl UnsafeUnpin for AnalyticsStat
impl UnwindSafe for AnalyticsStat
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