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