pub struct WebhookDetail {
pub id: String,
pub url: String,
pub events: Vec<String>,
pub secret: Option<String>,
pub status: String,
pub created_at: Option<DateTime<Utc>>,
pub deliveries: Vec<WebhookDelivery>,
}Expand description
Webhook detail with delivery history.
Fields§
§id: String§url: String§events: Vec<String>§secret: Option<String>§status: String§created_at: Option<DateTime<Utc>>§deliveries: Vec<WebhookDelivery>Trait Implementations§
Source§impl Clone for WebhookDetail
impl Clone for WebhookDetail
Source§fn clone(&self) -> WebhookDetail
fn clone(&self) -> WebhookDetail
Returns a duplicate of the value. Read more
1.0.0 · 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 WebhookDetail
impl Debug for WebhookDetail
Source§impl<'de> Deserialize<'de> for WebhookDetail
impl<'de> Deserialize<'de> for WebhookDetail
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 WebhookDetail
impl RefUnwindSafe for WebhookDetail
impl Send for WebhookDetail
impl Sync for WebhookDetail
impl Unpin for WebhookDetail
impl UnsafeUnpin for WebhookDetail
impl UnwindSafe for WebhookDetail
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