pub struct KrakenEmbedQuoteExecutionFailedWebhookPayload {
pub failed_at: String,
pub quote_id: String,
pub reason: String,
pub type_: KrakenEmbedQuoteExecutionFailedWebhookPayloadType,
pub user_id: String,
}Expand description
Payload for the kraken_embed.quote.execution_failed webhook event.
JSON schema
{
"title": "KrakenEmbedQuoteExecutionFailedWebhookPayload",
"description": "Payload for the kraken_embed.quote.execution_failed
webhook event.",
"type": "object",
"required": [
"failed_at",
"quote_id",
"reason",
"type",
"user_id"
],
"properties": {
"failed_at": {
"description": "ISO 8601 timestamp of when the quote execution
failed.",
"type": "string"
},
"quote_id": {
"description": "The ID of the quote that failed to execute.",
"type": "string"
},
"reason": {
"description": "A human-readable description of why the quote
execution failed. Intended for display and logging purposes only.",
"type": "string"
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"kraken_embed.quote.execution_failed"
]
},
"user_id": {
"description": "The ID of the user.",
"type": "string"
}
},
"x-stainless-model":
"webhooks.kraken_embed_quote_execution_failed_webhook_payload"
}Fields§
§failed_at: StringISO 8601 timestamp of when the quote execution failed.
quote_id: StringThe ID of the quote that failed to execute.
reason: StringA human-readable description of why the quote execution failed. Intended for display and logging purposes only.
type_: KrakenEmbedQuoteExecutionFailedWebhookPayloadTypeThe type of webhook event.
user_id: StringThe ID of the user.
Trait Implementations§
Source§impl Clone for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl Clone for KrakenEmbedQuoteExecutionFailedWebhookPayload
Source§fn clone(&self) -> KrakenEmbedQuoteExecutionFailedWebhookPayload
fn clone(&self) -> KrakenEmbedQuoteExecutionFailedWebhookPayload
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 KrakenEmbedQuoteExecutionFailedWebhookPayload
impl<'de> Deserialize<'de> for KrakenEmbedQuoteExecutionFailedWebhookPayload
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<&KrakenEmbedQuoteExecutionFailedWebhookPayload> for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl From<&KrakenEmbedQuoteExecutionFailedWebhookPayload> for KrakenEmbedQuoteExecutionFailedWebhookPayload
Source§fn from(value: &KrakenEmbedQuoteExecutionFailedWebhookPayload) -> Self
fn from(value: &KrakenEmbedQuoteExecutionFailedWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl RefUnwindSafe for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl Send for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl Sync for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl Unpin for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl UnsafeUnpin for KrakenEmbedQuoteExecutionFailedWebhookPayload
impl UnwindSafe for KrakenEmbedQuoteExecutionFailedWebhookPayload
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