#[non_exhaustive]pub enum TimetablePrefix {
Caller,
OtherLeg,
Channel,
Hunt,
Originator,
Originatee,
PostOriginator,
PostOriginatee,
}Expand description
Header prefix identifying which call leg’s timetable to extract.
FreeSWITCH emits timetable headers as {prefix}-Channel-Created-Time, etc.
The prefix varies by context – Caller for the primary leg, Other-Leg
for the bridged party, Channel in outbound ESL mode, etc.
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.
Caller
Primary call leg (Caller-*).
OtherLeg
Bridged party (Other-Leg-*).
Channel
Outbound ESL channel profile (Channel-*).
Hunt
XML dialplan hunt (Hunt-*).
Originator
Bridge debug originator (ORIGINATOR-*).
Originatee
Bridge debug originatee (ORIGINATEE-*).
PostOriginator
Post-bridge debug originator (POST-ORIGINATOR-*).
PostOriginatee
Post-bridge debug originatee (POST-ORIGINATEE-*).
Implementations§
Trait Implementations§
Source§impl AsRef<str> for TimetablePrefix
impl AsRef<str> for TimetablePrefix
Source§impl Clone for TimetablePrefix
impl Clone for TimetablePrefix
Source§fn clone(&self) -> TimetablePrefix
fn clone(&self) -> TimetablePrefix
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 TimetablePrefix
impl Debug for TimetablePrefix
Source§impl<'de> Deserialize<'de> for TimetablePrefix
impl<'de> Deserialize<'de> for TimetablePrefix
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 TimetablePrefix
impl Display for TimetablePrefix
Source§impl Hash for TimetablePrefix
impl Hash for TimetablePrefix
Source§impl PartialEq for TimetablePrefix
impl PartialEq for TimetablePrefix
Source§impl Serialize for TimetablePrefix
impl Serialize for TimetablePrefix
impl Copy for TimetablePrefix
impl Eq for TimetablePrefix
impl StructuralPartialEq for TimetablePrefix
Auto Trait Implementations§
impl Freeze for TimetablePrefix
impl RefUnwindSafe for TimetablePrefix
impl Send for TimetablePrefix
impl Sync for TimetablePrefix
impl Unpin for TimetablePrefix
impl UnsafeUnpin for TimetablePrefix
impl UnwindSafe for TimetablePrefix
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.