pub struct WebhookResponse {
pub webhook_compact: WebhookCompact,
pub created_at: Option<DateTime<Utc>>,
pub filters: Option<Vec<Value>>,
pub last_failure_at: Option<DateTime<Utc>>,
pub last_failure_content: Option<String>,
pub last_success_at: Option<DateTime<Utc>>,
}
Fields§
§webhook_compact: WebhookCompact
§created_at: Option<DateTime<Utc>>
The time at which this resource was created.
filters: Option<Vec<Value>>
Whitelist of filters to apply to events from this webhook. If a webhook event passes any of the filters the event will be delivered; otherwise no event will be sent to the receiving server.
last_failure_at: Option<DateTime<Utc>>
The timestamp when the webhook last received an error when sending an event to the target.
last_failure_content: Option<String>
The contents of the last error response sent to the webhook when attempting to deliver events to the target.
last_success_at: Option<DateTime<Utc>>
The timestamp when the webhook last successfully sent an event to the target.
Trait Implementations§
Source§impl Clone for WebhookResponse
impl Clone for WebhookResponse
Source§fn clone(&self) -> WebhookResponse
fn clone(&self) -> WebhookResponse
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 WebhookResponse
impl Debug for WebhookResponse
Source§impl Default for WebhookResponse
impl Default for WebhookResponse
Source§fn default() -> WebhookResponse
fn default() -> WebhookResponse
Returns the “default value” for a type. Read more
Source§impl Deref for WebhookResponse
impl Deref for WebhookResponse
Source§impl DerefMut for WebhookResponse
impl DerefMut for WebhookResponse
Source§impl<'de> Deserialize<'de> for WebhookResponse
impl<'de> Deserialize<'de> for WebhookResponse
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 Display for WebhookResponse
impl Display for WebhookResponse
Auto Trait Implementations§
impl Freeze for WebhookResponse
impl RefUnwindSafe for WebhookResponse
impl Send for WebhookResponse
impl Sync for WebhookResponse
impl Unpin for WebhookResponse
impl UnwindSafe for WebhookResponse
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