pub struct Webhook {
pub id: Option<Uuid>,
pub url: Option<String>,
pub description: Option<String>,
pub events: Option<Vec<WebhookEvent>>,
pub status: Option<Status>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}
Fields§
§id: Option<Uuid>
The id of the webhook
url: Option<String>
The url of the webhook where notifications will be sent. Must be a valid URL and https.
description: Option<String>
description of the webhook of what it is used for
events: Option<Vec<WebhookEvent>>
The events that the webhook will be subscribed to
status: Option<Status>
The status of the webhook
created_at: Option<String>
The date and time the webhook was created
updated_at: Option<String>
The date and time the webhook was last updated
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Webhook
impl<'de> Deserialize<'de> for Webhook
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
impl StructuralPartialEq for Webhook
Auto Trait Implementations§
impl Freeze for Webhook
impl RefUnwindSafe for Webhook
impl Send for Webhook
impl Sync for Webhook
impl Unpin for Webhook
impl UnwindSafe for Webhook
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