pub struct WebhookLiveTransportIncomingData {
pub type: String,
pub session_id: String,
pub sip_headers: Vec<SipHeader>,
pub sip_media_security: Option<String>,
}Available on crate feature
webhook-types only.Expand description
Data payload for an incoming Live transport.
Fields§
§type: StringThe incoming transport type. Always sip.
session_id: StringThe live_... ID of the pending SIP session. Forward this value
unchanged when accepting or rejecting the call through the Live API.
sip_headers: Vec<SipHeader>Headers from the SIP INVITE, excluding SIP authorization headers. Retained names, values, repeated entries, and order are preserved. Treat these values as untrusted call metadata.
sip_media_security: Option<String>Media protection selected on the SIP leg during SDP negotiation. srtp
indicates SRTP; rtp indicates unencrypted RTP. Omitted when unknown.
This does not describe SIP signaling security or confirm that media has
flowed. Clients should handle unrecognized values as unknown.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebhookLiveTransportIncomingData
impl<'de> Deserialize<'de> for WebhookLiveTransportIncomingData
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
impl StructuralPartialEq for WebhookLiveTransportIncomingData
Auto Trait Implementations§
impl Freeze for WebhookLiveTransportIncomingData
impl RefUnwindSafe for WebhookLiveTransportIncomingData
impl Send for WebhookLiveTransportIncomingData
impl Sync for WebhookLiveTransportIncomingData
impl Unpin for WebhookLiveTransportIncomingData
impl UnsafeUnpin for WebhookLiveTransportIncomingData
impl UnwindSafe for WebhookLiveTransportIncomingData
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