pub struct WebhookEndpoint {
pub id: String,
pub url: Option<String>,
pub events: Option<Vec<String>>,
pub enabled: Option<bool>,
pub consecutive_failures: Option<i64>,
pub disabled_at: Option<String>,
pub created_at: Option<String>,
pub secret: Option<String>,
}Expand description
A webhook endpoint.
Fields§
§id: StringEndpoint UUID.
url: Option<String>HTTPS URL.
events: Option<Vec<String>>Subscribed event names.
enabled: Option<bool>Whether deliveries are enabled.
consecutive_failures: Option<i64>Consecutive failed deliveries.
disabled_at: Option<String>When it was auto-disabled.
created_at: Option<String>Creation time.
secret: Option<String>Signing secret (whsec_...), only in the create response.
Trait Implementations§
Source§impl Clone for WebhookEndpoint
impl Clone for WebhookEndpoint
Source§impl Debug for WebhookEndpoint
impl Debug for WebhookEndpoint
Source§impl<'de> Deserialize<'de> for WebhookEndpoint
impl<'de> Deserialize<'de> for WebhookEndpoint
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 Forget for WebhookEndpoint
impl Freeze for WebhookEndpoint
impl Move for WebhookEndpoint
impl RefUnwindSafe for WebhookEndpoint
impl Send for WebhookEndpoint
impl Sync for WebhookEndpoint
impl Unpin for WebhookEndpoint
impl UnsafeUnpin for WebhookEndpoint
impl UnwindSafe for WebhookEndpoint
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