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