pub struct WebhookBatchFailed {
pub created_at: i64,
pub id: String,
pub data: WebhookBatchFailedData,
pub object: Option<WebhookBatchFailedObject>,
}
Expand description
Sent when a batch API request has failed.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the batch API request failed.
id: String
The unique ID of the event.
data: WebhookBatchFailedData
Event data payload.
object: Option<WebhookBatchFailedObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookBatchFailed
impl WebhookBatchFailed
Sourcepub fn builder() -> WebhookBatchFailedBuilder<((), (), (), ())>
pub fn builder() -> WebhookBatchFailedBuilder<((), (), (), ())>
Create a builder for building WebhookBatchFailed
.
On the builder, call .created_at(...)
, .id(...)
, .data(...)
, .object(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of WebhookBatchFailed
.
Trait Implementations§
Source§impl Clone for WebhookBatchFailed
impl Clone for WebhookBatchFailed
Source§fn clone(&self) -> WebhookBatchFailed
fn clone(&self) -> WebhookBatchFailed
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhookBatchFailed
impl Debug for WebhookBatchFailed
Source§impl<'de> Deserialize<'de> for WebhookBatchFailed
impl<'de> Deserialize<'de> for WebhookBatchFailed
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 WebhookBatchFailed
impl PartialEq for WebhookBatchFailed
Source§impl Serialize for WebhookBatchFailed
impl Serialize for WebhookBatchFailed
impl StructuralPartialEq for WebhookBatchFailed
Auto Trait Implementations§
impl Freeze for WebhookBatchFailed
impl RefUnwindSafe for WebhookBatchFailed
impl Send for WebhookBatchFailed
impl Sync for WebhookBatchFailed
impl Unpin for WebhookBatchFailed
impl UnwindSafe for WebhookBatchFailed
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