pub struct WebhookLiveCallIncoming {
pub created_at: u64,
pub id: String,
pub data: WebhookLiveCallIncomingData,
pub object: Option<String>,
}๐Deprecated:
Use live.transport.incoming instead.
Available on crate feature
webhook-types only.Expand description
Sent when an incoming API SIP session is available for Live acceptance. The
same pending session can also emit realtime.call.incoming; the first
successful Realtime or Live accept endpoint selects the runtime surface.
Fieldsยง
ยงcreated_at: u64๐Deprecated:
Use live.transport.incoming instead.
The Unix timestamp (in seconds) of when the event was created.
id: String๐Deprecated:
Use live.transport.incoming instead.
The unique ID of the event.
data: WebhookLiveCallIncomingData๐Deprecated:
Use live.transport.incoming instead.
Event data payload.
object: Option<String>๐Deprecated:
Use live.transport.incoming instead.
The object of the event. Always event.
Trait Implementationsยง
Sourceยงimpl Clone for WebhookLiveCallIncoming
impl Clone for WebhookLiveCallIncoming
Sourceยงimpl Debug for WebhookLiveCallIncoming
impl Debug for WebhookLiveCallIncoming
Sourceยงimpl Default for WebhookLiveCallIncoming
impl Default for WebhookLiveCallIncoming
Sourceยงimpl<'de> Deserialize<'de> for WebhookLiveCallIncoming
impl<'de> Deserialize<'de> for WebhookLiveCallIncoming
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
Sourceยงimpl EventId for WebhookLiveCallIncoming
impl EventId for WebhookLiveCallIncoming
Sourceยงimpl EventType for WebhookLiveCallIncoming
impl EventType for WebhookLiveCallIncoming
Sourceยงfn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Available on crate feature
_api only.Returns the event type string (e.g., โbatch.cancelledโ)
Sourceยงimpl PartialEq for WebhookLiveCallIncoming
impl PartialEq for WebhookLiveCallIncoming
Sourceยงimpl Serialize for WebhookLiveCallIncoming
impl Serialize for WebhookLiveCallIncoming
impl StructuralPartialEq for WebhookLiveCallIncoming
Auto Trait Implementationsยง
impl Freeze for WebhookLiveCallIncoming
impl RefUnwindSafe for WebhookLiveCallIncoming
impl Send for WebhookLiveCallIncoming
impl Sync for WebhookLiveCallIncoming
impl Unpin for WebhookLiveCallIncoming
impl UnsafeUnpin for WebhookLiveCallIncoming
impl UnwindSafe for WebhookLiveCallIncoming
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