pub struct BridgeCryptoTransferMetadata {
pub method: BridgeCryptoTransferMetadataMethod,
pub source_wallet_address: String,
pub transfer_id: String,
pub type_: BridgeCryptoTransferMetadataType,
}Expand description
Bridge metadata for a crypto deposit via transfer.
JSON schema
{
"title": "BridgeCryptoTransferMetadata",
"description": "Bridge metadata for a crypto deposit via transfer.",
"type": "object",
"required": [
"method",
"source_wallet_address",
"transfer_id",
"type"
],
"properties": {
"method": {
"type": "string",
"enum": [
"transfer"
]
},
"source_wallet_address": {
"description": "The wallet address that sent the transfer.",
"type": "string"
},
"transfer_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"crypto_deposit"
]
}
},
"x-stainless-model": "webhooks.bridge_crypto_transfer_metadata"
}Fields§
§method: BridgeCryptoTransferMetadataMethod§source_wallet_address: StringThe wallet address that sent the transfer.
transfer_id: String§type_: BridgeCryptoTransferMetadataTypeTrait Implementations§
Source§impl Clone for BridgeCryptoTransferMetadata
impl Clone for BridgeCryptoTransferMetadata
Source§fn clone(&self) -> BridgeCryptoTransferMetadata
fn clone(&self) -> BridgeCryptoTransferMetadata
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 Debug for BridgeCryptoTransferMetadata
impl Debug for BridgeCryptoTransferMetadata
Source§impl<'de> Deserialize<'de> for BridgeCryptoTransferMetadata
impl<'de> Deserialize<'de> for BridgeCryptoTransferMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BridgeCryptoTransferMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BridgeCryptoTransferMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&BridgeCryptoTransferMetadata> for BridgeCryptoTransferMetadata
impl From<&BridgeCryptoTransferMetadata> for BridgeCryptoTransferMetadata
Source§fn from(value: &BridgeCryptoTransferMetadata) -> BridgeCryptoTransferMetadata
fn from(value: &BridgeCryptoTransferMetadata) -> BridgeCryptoTransferMetadata
Converts to this type from the input type.
Source§impl From<BridgeCryptoTransferMetadata> for BridgeMetadata
impl From<BridgeCryptoTransferMetadata> for BridgeMetadata
Source§fn from(value: BridgeCryptoTransferMetadata) -> BridgeMetadata
fn from(value: BridgeCryptoTransferMetadata) -> BridgeMetadata
Converts to this type from the input type.
Source§impl Serialize for BridgeCryptoTransferMetadata
impl Serialize for BridgeCryptoTransferMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BridgeCryptoTransferMetadata
impl RefUnwindSafe for BridgeCryptoTransferMetadata
impl Send for BridgeCryptoTransferMetadata
impl Sync for BridgeCryptoTransferMetadata
impl Unpin for BridgeCryptoTransferMetadata
impl UnsafeUnpin for BridgeCryptoTransferMetadata
impl UnwindSafe for BridgeCryptoTransferMetadata
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