pub struct RealtimeCallIncomingWebhookEvent {
pub id: String,
pub created_at: i64,
pub data: Data,
pub type_: String,
pub object: Option<String>,
}Expand description
Sent when Realtime API Receives a incoming SIP call.
Fields§
§id: StringThe unique ID of the event.
created_at: i64The Unix timestamp (in seconds) of when the model response was completed.
data: DataEvent data payload.
type_: StringThe type of the event. Always realtime.call.incoming.
object: Option<String>The object of the event. Always event.
Trait Implementations§
Source§impl Clone for RealtimeCallIncomingWebhookEvent
impl Clone for RealtimeCallIncomingWebhookEvent
Source§fn clone(&self) -> RealtimeCallIncomingWebhookEvent
fn clone(&self) -> RealtimeCallIncomingWebhookEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RealtimeCallIncomingWebhookEvent
impl<'de> Deserialize<'de> for RealtimeCallIncomingWebhookEvent
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
Auto Trait Implementations§
impl Freeze for RealtimeCallIncomingWebhookEvent
impl RefUnwindSafe for RealtimeCallIncomingWebhookEvent
impl Send for RealtimeCallIncomingWebhookEvent
impl Sync for RealtimeCallIncomingWebhookEvent
impl Unpin for RealtimeCallIncomingWebhookEvent
impl UnsafeUnpin for RealtimeCallIncomingWebhookEvent
impl UnwindSafe for RealtimeCallIncomingWebhookEvent
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