pub struct SipFlowItem {
pub timestamp: u64,
pub seq: u64,
pub leg: Option<i32>,
pub msg_type: &'static str,
pub call_id: String,
pub src_addr: String,
pub dst_addr: String,
pub payload: String,
}Expand description
One captured SIP message. The serialized field names match rustpbx’s
sipflow JSONL export (timestamp/seq/leg/msgType/srcAddr/
dstAddr/payload); callId is an active-call extension so a merged
multi-leg export stays attributable per dialog.
Fields§
§timestamp: u64Unix timestamp in microseconds.
seq: u64Capture sequence within one Call-ID.
leg: Option<i32>RTP leg marker in rustpbx exports; always null for SIP signaling.
msg_type: &'static strAlways "Sip".
call_id: StringSIP Call-ID this message belongs to.
src_addr: String§dst_addr: String§payload: StringFull raw SIP message text.
Trait Implementations§
Source§impl Clone for SipFlowItem
impl Clone for SipFlowItem
Source§impl Debug for SipFlowItem
impl Debug for SipFlowItem
Auto Trait Implementations§
impl Forget for SipFlowItem
impl Freeze for SipFlowItem
impl Move for SipFlowItem
impl RefUnwindSafe for SipFlowItem
impl Send for SipFlowItem
impl Sync for SipFlowItem
impl Unpin for SipFlowItem
impl UnsafeUnpin for SipFlowItem
impl UnwindSafe for SipFlowItem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more