pub struct KrakenEmbedQuoteCancelledWebhookPayload {
pub cancelled_at: String,
pub quote_id: String,
pub reason: String,
pub type_: KrakenEmbedQuoteCancelledWebhookPayloadType,
pub user_id: String,
}Expand description
Payload for the kraken_embed.quote.cancelled webhook event.
JSON schema
{
"title": "KrakenEmbedQuoteCancelledWebhookPayload",
"description": "Payload for the kraken_embed.quote.cancelled webhook
event.",
"type": "object",
"required": [
"cancelled_at",
"quote_id",
"reason",
"type",
"user_id"
],
"properties": {
"cancelled_at": {
"description": "ISO 8601 timestamp of when the quote was
cancelled.",
"type": "string"
},
"quote_id": {
"description": "The ID of the cancelled quote.",
"type": "string"
},
"reason": {
"description": "A human-readable description of why the quote was
cancelled. Intended for display and logging purposes only.",
"type": "string"
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"kraken_embed.quote.cancelled"
]
},
"user_id": {
"description": "The ID of the user.",
"type": "string"
}
},
"x-stainless-model":
"webhooks.kraken_embed_quote_cancelled_webhook_payload"
}Fields§
§cancelled_at: StringISO 8601 timestamp of when the quote was cancelled.
quote_id: StringThe ID of the cancelled quote.
reason: StringA human-readable description of why the quote was cancelled. Intended for display and logging purposes only.
type_: KrakenEmbedQuoteCancelledWebhookPayloadTypeThe type of webhook event.
user_id: StringThe ID of the user.
Trait Implementations§
Source§impl Clone for KrakenEmbedQuoteCancelledWebhookPayload
impl Clone for KrakenEmbedQuoteCancelledWebhookPayload
Source§fn clone(&self) -> KrakenEmbedQuoteCancelledWebhookPayload
fn clone(&self) -> KrakenEmbedQuoteCancelledWebhookPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KrakenEmbedQuoteCancelledWebhookPayload
impl<'de> Deserialize<'de> for KrakenEmbedQuoteCancelledWebhookPayload
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 From<&KrakenEmbedQuoteCancelledWebhookPayload> for KrakenEmbedQuoteCancelledWebhookPayload
impl From<&KrakenEmbedQuoteCancelledWebhookPayload> for KrakenEmbedQuoteCancelledWebhookPayload
Source§fn from(value: &KrakenEmbedQuoteCancelledWebhookPayload) -> Self
fn from(value: &KrakenEmbedQuoteCancelledWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KrakenEmbedQuoteCancelledWebhookPayload
impl RefUnwindSafe for KrakenEmbedQuoteCancelledWebhookPayload
impl Send for KrakenEmbedQuoteCancelledWebhookPayload
impl Sync for KrakenEmbedQuoteCancelledWebhookPayload
impl Unpin for KrakenEmbedQuoteCancelledWebhookPayload
impl UnsafeUnpin for KrakenEmbedQuoteCancelledWebhookPayload
impl UnwindSafe for KrakenEmbedQuoteCancelledWebhookPayload
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