pub struct KrakenEmbedQuoteExecutedWebhookPayload {
pub executed_at: String,
pub quote_id: String,
pub type_: KrakenEmbedQuoteExecutedWebhookPayloadType,
pub user_id: String,
}Expand description
Payload for the kraken_embed.quote_executed webhook event.
JSON schema
{
"title": "KrakenEmbedQuoteExecutedWebhookPayload",
"description": "Payload for the kraken_embed.quote_executed webhook
event.",
"type": "object",
"required": [
"executed_at",
"quote_id",
"type",
"user_id"
],
"properties": {
"executed_at": {
"description": "ISO 8601 timestamp of when the quote was
executed.",
"type": "string"
},
"quote_id": {
"description": "The ID of the executed quote.",
"type": "string"
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"kraken_embed.quote.executed"
]
},
"user_id": {
"description": "The ID of the user.",
"type": "string"
}
},
"x-stainless-model":
"webhooks.kraken_embed_quote_executed_webhook_payload"
}Fields§
§executed_at: StringISO 8601 timestamp of when the quote was executed.
quote_id: StringThe ID of the executed quote.
type_: KrakenEmbedQuoteExecutedWebhookPayloadTypeThe type of webhook event.
user_id: StringThe ID of the user.
Trait Implementations§
Source§impl Clone for KrakenEmbedQuoteExecutedWebhookPayload
impl Clone for KrakenEmbedQuoteExecutedWebhookPayload
Source§fn clone(&self) -> KrakenEmbedQuoteExecutedWebhookPayload
fn clone(&self) -> KrakenEmbedQuoteExecutedWebhookPayload
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 KrakenEmbedQuoteExecutedWebhookPayload
impl<'de> Deserialize<'de> for KrakenEmbedQuoteExecutedWebhookPayload
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<&KrakenEmbedQuoteExecutedWebhookPayload> for KrakenEmbedQuoteExecutedWebhookPayload
impl From<&KrakenEmbedQuoteExecutedWebhookPayload> for KrakenEmbedQuoteExecutedWebhookPayload
Source§fn from(value: &KrakenEmbedQuoteExecutedWebhookPayload) -> Self
fn from(value: &KrakenEmbedQuoteExecutedWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KrakenEmbedQuoteExecutedWebhookPayload
impl RefUnwindSafe for KrakenEmbedQuoteExecutedWebhookPayload
impl Send for KrakenEmbedQuoteExecutedWebhookPayload
impl Sync for KrakenEmbedQuoteExecutedWebhookPayload
impl Unpin for KrakenEmbedQuoteExecutedWebhookPayload
impl UnsafeUnpin for KrakenEmbedQuoteExecutedWebhookPayload
impl UnwindSafe for KrakenEmbedQuoteExecutedWebhookPayload
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