pub struct SeedPhraseExportWebhookPayload {
pub export_source: Option<SeedPhraseExportWebhookPayloadExportSource>,
pub type_: SeedPhraseExportWebhookPayloadType,
pub user_id: String,
pub wallet_address: String,
pub wallet_id: String,
}Expand description
Payload for the wallet.seed_phrase_export webhook event.
JSON schema
{
"title": "SeedPhraseExportWebhookPayload",
"description": "Payload for the wallet.seed_phrase_export webhook
event.",
"type": "object",
"required": [
"type",
"user_id",
"wallet_address",
"wallet_id"
],
"properties": {
"export_source": {
"type": "string",
"enum": [
"client",
"display"
]
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"wallet.seed_phrase_export"
]
},
"user_id": {
"description": "The ID of the user who exported the seed phrase.",
"type": "string"
},
"wallet_address": {
"description": "The address of the wallet.",
"type": "string"
},
"wallet_id": {
"description": "The ID of the wallet.",
"type": "string"
}
},
"x-stainless-model": "webhooks.seed_phrase_export_webhook_payload"
}Fields§
§export_source: Option<SeedPhraseExportWebhookPayloadExportSource>§type_: SeedPhraseExportWebhookPayloadTypeThe type of webhook event.
user_id: StringThe ID of the user who exported the seed phrase.
wallet_address: StringThe address of the wallet.
wallet_id: StringThe ID of the wallet.
Trait Implementations§
Source§impl Clone for SeedPhraseExportWebhookPayload
impl Clone for SeedPhraseExportWebhookPayload
Source§fn clone(&self) -> SeedPhraseExportWebhookPayload
fn clone(&self) -> SeedPhraseExportWebhookPayload
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 SeedPhraseExportWebhookPayload
impl<'de> Deserialize<'de> for SeedPhraseExportWebhookPayload
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<&SeedPhraseExportWebhookPayload> for SeedPhraseExportWebhookPayload
impl From<&SeedPhraseExportWebhookPayload> for SeedPhraseExportWebhookPayload
Source§fn from(value: &SeedPhraseExportWebhookPayload) -> Self
fn from(value: &SeedPhraseExportWebhookPayload) -> Self
Converts to this type from the input type.
Source§impl From<SeedPhraseExportWebhookPayload> for WebhookPayload
impl From<SeedPhraseExportWebhookPayload> for WebhookPayload
Source§fn from(value: SeedPhraseExportWebhookPayload) -> Self
fn from(value: SeedPhraseExportWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SeedPhraseExportWebhookPayload
impl RefUnwindSafe for SeedPhraseExportWebhookPayload
impl Send for SeedPhraseExportWebhookPayload
impl Sync for SeedPhraseExportWebhookPayload
impl Unpin for SeedPhraseExportWebhookPayload
impl UnsafeUnpin for SeedPhraseExportWebhookPayload
impl UnwindSafe for SeedPhraseExportWebhookPayload
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