#[non_exhaustive]pub enum FieldKind {
ChannelName,
CallerIdName,
CallerIdNumber,
DestinationNumber,
CallId,
Uuid,
SipUri,
IpAddr,
VariableValue,
}Expand description
What a located span holds.
A kind names the slot the value sits in, not the value’s shape — a
CallerIdName frequently holds a number, and the
consumer decides what that means.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ChannelName
An endpoint channel name (sofia/<profile>/<user>@<host>, loopback/...).
CallerIdName
Caller-id display name.
CallerIdNumber
Caller-id number.
DestinationNumber
The number the dialplan is routing to.
CallId
A SIP Call-ID.
Uuid
A channel UUID appearing anywhere in the text.
SipUri
A SIP URI. No shape emits one yet — the variant is reserved for URI positions FreeSWITCH itself frames; URIs in channel-variable values are deliberately not classified here.
IpAddr
An IP address, at positions the classifier frames (a channel name’s host, an inbound INVITE’s source).
VariableValue
A dump slot’s value — a channel variable’s or a channel field’s — where the name names no slot above. The crate locates it and stops there; whether the name makes the value sensitive is the consumer’s call, from the name the classification carries.
Implementations§
Trait Implementations§
impl Copy for FieldKind
impl Eq for FieldKind
Source§impl Ord for FieldKind
impl Ord for FieldKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for FieldKind
impl PartialOrd for FieldKind
impl StructuralPartialEq for FieldKind
Auto Trait Implementations§
impl Freeze for FieldKind
impl RefUnwindSafe for FieldKind
impl Send for FieldKind
impl Sync for FieldKind
impl Unpin for FieldKind
impl UnsafeUnpin for FieldKind
impl UnwindSafe for FieldKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
key and return true if they are equal.