#[non_exhaustive]pub enum EventHeader {
Show 56 variants
EventName,
EventSubclass,
UniqueId,
CallerUniqueId,
OtherLegUniqueId,
ChannelCallUuid,
JobUuid,
ChannelName,
ChannelState,
ChannelStateNumber,
ChannelCallState,
AnswerState,
CallDirection,
HangupCause,
CallerCallerIdName,
CallerCallerIdNumber,
CallerOrigCallerIdName,
CallerOrigCallerIdNumber,
CallerCalleeIdName,
CallerCalleeIdNumber,
CallerDestinationNumber,
CallerContext,
CallerDirection,
CallerNetworkAddr,
CoreUuid,
DtmfDigit,
Priority,
LogLevel,
PlData,
SipEvent,
SipContentType,
GatewayName,
ChannelReadCodecName,
ChannelReadCodecRate,
ChannelReadCodecBitRate,
ChannelReportedReadCodecRate,
ChannelWriteCodecName,
ChannelWriteCodecRate,
ChannelWriteCodecBitRate,
ChannelReportedWriteCodecRate,
ChannelVideoReadCodecName,
ChannelVideoReadCodecRate,
ChannelVideoWriteCodecName,
ChannelVideoWriteCodecRate,
SessionCount,
FreeswitchHostname,
FreeswitchSwitchname,
FreeswitchIpv4,
FreeswitchIpv6,
FreeswitchVersion,
FreeswitchDomain,
FreeswitchUser,
Application,
ApplicationData,
ApplicationResponse,
ApplicationUuid,
}Expand description
Top-level header names that appear in FreeSWITCH ESL events.
These are the headers on the parsed event itself (not protocol framing
headers like Content-Type). Use with EslEvent::header() for
type-safe lookups.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EventName
EventSubclass
UniqueId
CallerUniqueId
OtherLegUniqueId
ChannelCallUuid
JobUuid
ChannelName
ChannelState
ChannelStateNumber
ChannelCallState
AnswerState
CallDirection
HangupCause
CallerCallerIdName
CallerCallerIdNumber
CallerOrigCallerIdName
CallerOrigCallerIdNumber
CallerCalleeIdName
CallerCalleeIdNumber
CallerDestinationNumber
CallerContext
CallerDirection
CallerNetworkAddr
CoreUuid
DtmfDigit
Priority
LogLevel
PlData
SIP NOTIFY body content (JSON payload from NOTIFY_IN events).
SipEvent
SIP event package name from NOTIFY_IN events (e.g. emergency-AbandonedCall).
SipContentType
SIP content type from NOTIFY_IN events.
GatewayName
Gateway that received the SIP NOTIFY.
ChannelReadCodecName
ChannelReadCodecRate
ChannelReadCodecBitRate
ChannelReportedReadCodecRate
Only present when actual_samples_per_second != samples_per_second.
ChannelWriteCodecName
ChannelWriteCodecRate
ChannelWriteCodecBitRate
ChannelReportedWriteCodecRate
Only present when actual_samples_per_second != samples_per_second.
ChannelVideoReadCodecName
ChannelVideoReadCodecRate
ChannelVideoWriteCodecName
ChannelVideoWriteCodecRate
SessionCount
Active session count from HEARTBEAT events.
FreeswitchHostname
FreeswitchSwitchname
FreeswitchIpv4
FreeswitchIpv6
FreeswitchVersion
FreeswitchDomain
FreeswitchUser
Application
ApplicationData
ApplicationResponse
ApplicationUuid
Implementations§
Trait Implementations§
Source§impl AsRef<str> for EventHeader
impl AsRef<str> for EventHeader
Source§impl Clone for EventHeader
impl Clone for EventHeader
Source§fn clone(&self) -> EventHeader
fn clone(&self) -> EventHeader
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 EventHeader
impl Debug for EventHeader
Source§impl<'de> Deserialize<'de> for EventHeader
impl<'de> Deserialize<'de> for EventHeader
Source§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 Display for EventHeader
impl Display for EventHeader
Source§impl FromStr for EventHeader
impl FromStr for EventHeader
Source§impl Hash for EventHeader
impl Hash for EventHeader
Source§impl PartialEq for EventHeader
impl PartialEq for EventHeader
Source§impl Serialize for EventHeader
impl Serialize for EventHeader
impl Copy for EventHeader
impl Eq for EventHeader
impl StructuralPartialEq for EventHeader
Auto Trait Implementations§
impl Freeze for EventHeader
impl RefUnwindSafe for EventHeader
impl Send for EventHeader
impl Sync for EventHeader
impl Unpin for EventHeader
impl UnsafeUnpin for EventHeader
impl UnwindSafe for EventHeader
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.