pub struct WebhookBatchCompleted {
pub created_at: i64,
pub id: String,
pub data: WebhookBatchCompletedData,
pub object: Option<WebhookBatchCompletedObject>,
}
Expand description
Sent when a batch API request has been completed.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the batch API request was completed.
id: String
The unique ID of the event.
data: WebhookBatchCompletedData
Event data payload.
object: Option<WebhookBatchCompletedObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookBatchCompleted
impl WebhookBatchCompleted
Sourcepub fn builder() -> WebhookBatchCompletedBuilder<((), (), (), ())>
pub fn builder() -> WebhookBatchCompletedBuilder<((), (), (), ())>
Create a builder for building WebhookBatchCompleted
.
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 WebhookBatchCompleted
.
Trait Implementations§
Source§impl Clone for WebhookBatchCompleted
impl Clone for WebhookBatchCompleted
Source§fn clone(&self) -> WebhookBatchCompleted
fn clone(&self) -> WebhookBatchCompleted
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 WebhookBatchCompleted
impl Debug for WebhookBatchCompleted
Source§impl<'de> Deserialize<'de> for WebhookBatchCompleted
impl<'de> Deserialize<'de> for WebhookBatchCompleted
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 WebhookBatchCompleted
impl PartialEq for WebhookBatchCompleted
Source§impl Serialize for WebhookBatchCompleted
impl Serialize for WebhookBatchCompleted
impl StructuralPartialEq for WebhookBatchCompleted
Auto Trait Implementations§
impl Freeze for WebhookBatchCompleted
impl RefUnwindSafe for WebhookBatchCompleted
impl Send for WebhookBatchCompleted
impl Sync for WebhookBatchCompleted
impl Unpin for WebhookBatchCompleted
impl UnwindSafe for WebhookBatchCompleted
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