#[repr(i32)]pub enum AnalyticsEventType {
Show 45 variants
RoomCreated = 0,
RoomEnded = 1,
ParticipantJoined = 2,
ParticipantLeft = 3,
ParticipantConnectionAborted = 45,
TrackPublished = 4,
TrackPublishRequested = 20,
TrackUnpublished = 5,
TrackSubscribed = 6,
TrackSubscribeRequested = 21,
TrackSubscribeFailed = 25,
TrackUnsubscribed = 7,
TrackPublishedUpdate = 10,
TrackMuted = 23,
TrackUnmuted = 24,
TrackPublishStats = 26,
TrackSubscribeStats = 27,
ParticipantActive = 11,
ParticipantResumed = 22,
EgressStarted = 12,
EgressEnded = 13,
EgressUpdated = 28,
TrackMaxSubscribedVideoQuality = 14,
Reconnected = 15,
IngressCreated = 18,
IngressDeleted = 19,
IngressStarted = 16,
IngressEnded = 17,
IngressUpdated = 29,
SipInboundTrunkCreated = 30,
SipInboundTrunkDeleted = 31,
SipOutboundTrunkCreated = 32,
SipOutboundTrunkDeleted = 33,
SipDispatchRuleCreated = 34,
SipDispatchRuleDeleted = 35,
SipParticipantCreated = 36,
SipCallIncoming = 37,
SipCallStarted = 38,
SipCallEnded = 39,
SipTransferRequested = 43,
SipTransferComplete = 44,
SipCallUpdate = 46,
Report = 40,
ApiCall = 41,
Webhook = 42,
}Variants§
RoomCreated = 0
RoomEnded = 1
ParticipantJoined = 2
ParticipantLeft = 3
ParticipantConnectionAborted = 45
TrackPublished = 4
TrackPublishRequested = 20
TrackUnpublished = 5
TrackSubscribed = 6
TrackSubscribeRequested = 21
TrackSubscribeFailed = 25
TrackUnsubscribed = 7
TrackPublishedUpdate = 10
TrackMuted = 23
TrackUnmuted = 24
TrackPublishStats = 26
TrackSubscribeStats = 27
ParticipantActive = 11
ParticipantResumed = 22
EgressStarted = 12
EgressEnded = 13
EgressUpdated = 28
TrackMaxSubscribedVideoQuality = 14
Reconnected = 15
IngressCreated = 18
IngressDeleted = 19
IngressStarted = 16
IngressEnded = 17
IngressUpdated = 29
SipInboundTrunkCreated = 30
SipInboundTrunkDeleted = 31
SipOutboundTrunkCreated = 32
SipOutboundTrunkDeleted = 33
SipDispatchRuleCreated = 34
SipDispatchRuleDeleted = 35
SipParticipantCreated = 36
SipCallIncoming = 37
SipCallStarted = 38
SipCallEnded = 39
SipTransferRequested = 43
SipTransferComplete = 44
SipCallUpdate = 46
Report = 40
ApiCall = 41
Webhook = 42
Implementations§
Source§impl AnalyticsEventType
impl AnalyticsEventType
Sourcepub fn from_i32(value: i32) -> Option<AnalyticsEventType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<AnalyticsEventType>
Use the TryFrom<i32> implementation instead
Converts an i32 to a AnalyticsEventType, or None if value is not a valid variant.
Source§impl AnalyticsEventType
impl AnalyticsEventType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for AnalyticsEventType
impl Clone for AnalyticsEventType
Source§fn clone(&self) -> AnalyticsEventType
fn clone(&self) -> AnalyticsEventType
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 AnalyticsEventType
impl Debug for AnalyticsEventType
Source§impl Default for AnalyticsEventType
impl Default for AnalyticsEventType
Source§fn default() -> AnalyticsEventType
fn default() -> AnalyticsEventType
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for AnalyticsEventType
impl<'de> Deserialize<'de> for AnalyticsEventType
§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 From<AnalyticsEventType> for i32
impl From<AnalyticsEventType> for i32
Source§fn from(value: AnalyticsEventType) -> i32
fn from(value: AnalyticsEventType) -> i32
Converts to this type from the input type.
Source§impl Hash for AnalyticsEventType
impl Hash for AnalyticsEventType
Source§impl Ord for AnalyticsEventType
impl Ord for AnalyticsEventType
Source§fn cmp(&self, other: &AnalyticsEventType) -> Ordering
fn cmp(&self, other: &AnalyticsEventType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AnalyticsEventType
impl PartialEq for AnalyticsEventType
Source§fn eq(&self, other: &AnalyticsEventType) -> bool
fn eq(&self, other: &AnalyticsEventType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AnalyticsEventType
impl PartialOrd for AnalyticsEventType
§impl Serialize for AnalyticsEventType
impl Serialize for AnalyticsEventType
Source§impl TryFrom<i32> for AnalyticsEventType
impl TryFrom<i32> for AnalyticsEventType
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<AnalyticsEventType, DecodeError>
fn try_from(value: i32) -> Result<AnalyticsEventType, DecodeError>
Performs the conversion.
impl Copy for AnalyticsEventType
impl Eq for AnalyticsEventType
impl StructuralPartialEq for AnalyticsEventType
Auto Trait Implementations§
impl Freeze for AnalyticsEventType
impl RefUnwindSafe for AnalyticsEventType
impl Send for AnalyticsEventType
impl Sync for AnalyticsEventType
impl Unpin for AnalyticsEventType
impl UnsafeUnpin for AnalyticsEventType
impl UnwindSafe for AnalyticsEventType
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