pub struct CompletedCall {
pub channel: String,
pub unique_id: String,
pub linked_id: String,
pub start_time: Instant,
pub end_time: Instant,
pub duration: Duration,
pub cause: u32,
pub cause_txt: String,
pub events: Vec<AmiEvent>,
}Expand description
a fully resolved call with all collected events
Fields§
§channel: Stringchannel name at creation
unique_id: Stringper-channel unique identifier
linked_id: Stringlinks bridged channels together
start_time: Instantwhen the channel was created
end_time: Instantwhen the channel hung up
duration: Durationtotal call duration
cause: u32hangup cause code
cause_txt: Stringhangup cause description
events: Vec<AmiEvent>all events collected during this call’s lifetime
Trait Implementations§
Source§impl Clone for CompletedCall
impl Clone for CompletedCall
Source§fn clone(&self) -> CompletedCall
fn clone(&self) -> CompletedCall
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 CompletedCall
impl RefUnwindSafe for CompletedCall
impl Send for CompletedCall
impl Sync for CompletedCall
impl Unpin for CompletedCall
impl UnsafeUnpin for CompletedCall
impl UnwindSafe for CompletedCall
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