pub struct SipWebhook {
pub id: String,
pub url: Option<String>,
pub events: Vec<SipWebhookEvent>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub extra: Map<String, Value>,
}Expand description
A webhook delivering SIP call-event notifications.
Fields§
§id: StringThe webhook id.
The list endpoint keys this webhookId; the SDK surfaces it here either way.
url: Option<String>Where events are delivered.
events: Vec<SipWebhookEvent>The subscribed events.
created_at: Option<String>When the webhook was created.
updated_at: Option<String>When the webhook was last updated.
extra: Map<String, Value>Any fields the server returned that this SDK does not model yet.
Trait Implementations§
Source§impl Clone for SipWebhook
impl Clone for SipWebhook
Source§fn clone(&self) -> SipWebhook
fn clone(&self) -> SipWebhook
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 SipWebhook
impl Debug for SipWebhook
Source§impl<'de> Deserialize<'de> for SipWebhook
impl<'de> Deserialize<'de> for SipWebhook
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 SipWebhook
impl RefUnwindSafe for SipWebhook
impl Send for SipWebhook
impl Sync for SipWebhook
impl Unpin for SipWebhook
impl UnsafeUnpin for SipWebhook
impl UnwindSafe for SipWebhook
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