pub struct SessionSnapshot {
pub channel_name: Option<String>,
pub channel_state: Option<String>,
pub initial_context: Option<String>,
pub dialplan_context: Option<String>,
pub dialplan_from: Option<String>,
pub dialplan_to: Option<String>,
pub call_direction: Option<CallDirection>,
pub caller_id_number: Option<String>,
pub destination_number: Option<String>,
pub other_leg_uuid: Option<String>,
}Expand description
Immutable point-in-time copy of a session’s state, attached to each EnrichedEntry.
Does not include variables to keep snapshots lightweight — access the full
variable map via SessionTracker::sessions().
Fields§
§channel_name: Option<String>§channel_state: Option<String>§initial_context: Option<String>§dialplan_context: Option<String>§dialplan_from: Option<String>§dialplan_to: Option<String>§call_direction: Option<CallDirection>§caller_id_number: Option<String>§destination_number: Option<String>§other_leg_uuid: Option<String>Trait Implementations§
Source§impl Clone for SessionSnapshot
impl Clone for SessionSnapshot
Source§fn clone(&self) -> SessionSnapshot
fn clone(&self) -> SessionSnapshot
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 moreAuto Trait Implementations§
impl Freeze for SessionSnapshot
impl RefUnwindSafe for SessionSnapshot
impl Send for SessionSnapshot
impl Sync for SessionSnapshot
impl Unpin for SessionSnapshot
impl UnsafeUnpin for SessionSnapshot
impl UnwindSafe for SessionSnapshot
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