pub struct WebhookDeliveryData {
pub id: Option<String>,
pub timestamp: Option<f32>,
pub http_code: Option<f32>,
pub error_message: Option<String>,
pub status: Option<String>,
}Fields§
§id: Option<String>The id of the delivery
timestamp: Option<f32>Timestamp of when the delivery got broadcasted
http_code: Option<f32>HTTP code received by the remote service, if any.
error_message: Option<String>User friendly error message, if any.
status: Option<String>Whether the delivery failed or not (possible values are: Failed, HttpError, HttpSuccess)
Implementations§
Source§impl WebhookDeliveryData
impl WebhookDeliveryData
pub fn new() -> WebhookDeliveryData
Trait Implementations§
Source§impl Clone for WebhookDeliveryData
impl Clone for WebhookDeliveryData
Source§fn clone(&self) -> WebhookDeliveryData
fn clone(&self) -> WebhookDeliveryData
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 WebhookDeliveryData
impl Debug for WebhookDeliveryData
Source§impl Default for WebhookDeliveryData
impl Default for WebhookDeliveryData
Source§fn default() -> WebhookDeliveryData
fn default() -> WebhookDeliveryData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookDeliveryData
impl<'de> Deserialize<'de> for WebhookDeliveryData
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 PartialEq for WebhookDeliveryData
impl PartialEq for WebhookDeliveryData
Source§impl Serialize for WebhookDeliveryData
impl Serialize for WebhookDeliveryData
impl StructuralPartialEq for WebhookDeliveryData
Auto Trait Implementations§
impl Freeze for WebhookDeliveryData
impl RefUnwindSafe for WebhookDeliveryData
impl Send for WebhookDeliveryData
impl Sync for WebhookDeliveryData
impl Unpin for WebhookDeliveryData
impl UnwindSafe for WebhookDeliveryData
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