pub struct WebhookPayloadCallEnded {
pub id: String,
pub event: Event,
pub call: Box<WebhookPayloadCallEndedCall>,
pub account: Box<InboxWebhookAccount>,
pub timestamp: String,
}Expand description
WebhookPayloadCallEnded : Webhook payload for the call.ended event. Fires on call hangup with the duration and a zero-markup billing breakdown.
Fields§
§id: String§event: Event§call: Box<WebhookPayloadCallEndedCall>§account: Box<InboxWebhookAccount>§timestamp: StringImplementations§
Source§impl WebhookPayloadCallEnded
impl WebhookPayloadCallEnded
Sourcepub fn new(
id: String,
event: Event,
call: WebhookPayloadCallEndedCall,
account: InboxWebhookAccount,
timestamp: String,
) -> WebhookPayloadCallEnded
pub fn new( id: String, event: Event, call: WebhookPayloadCallEndedCall, account: InboxWebhookAccount, timestamp: String, ) -> WebhookPayloadCallEnded
Webhook payload for the call.ended event. Fires on call hangup with the duration and a zero-markup billing breakdown.
Trait Implementations§
Source§impl Clone for WebhookPayloadCallEnded
impl Clone for WebhookPayloadCallEnded
Source§fn clone(&self) -> WebhookPayloadCallEnded
fn clone(&self) -> WebhookPayloadCallEnded
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 Debug for WebhookPayloadCallEnded
impl Debug for WebhookPayloadCallEnded
Source§impl Default for WebhookPayloadCallEnded
impl Default for WebhookPayloadCallEnded
Source§fn default() -> WebhookPayloadCallEnded
fn default() -> WebhookPayloadCallEnded
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPayloadCallEnded
impl<'de> Deserialize<'de> for WebhookPayloadCallEnded
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 PartialEq for WebhookPayloadCallEnded
impl PartialEq for WebhookPayloadCallEnded
Source§fn eq(&self, other: &WebhookPayloadCallEnded) -> bool
fn eq(&self, other: &WebhookPayloadCallEnded) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebhookPayloadCallEnded
impl Serialize for WebhookPayloadCallEnded
impl StructuralPartialEq for WebhookPayloadCallEnded
Auto Trait Implementations§
impl Freeze for WebhookPayloadCallEnded
impl RefUnwindSafe for WebhookPayloadCallEnded
impl Send for WebhookPayloadCallEnded
impl Sync for WebhookPayloadCallEnded
impl Unpin for WebhookPayloadCallEnded
impl UnsafeUnpin for WebhookPayloadCallEnded
impl UnwindSafe for WebhookPayloadCallEnded
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