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