pub enum BridgeMetadata {
CryptoDepositMetadata(BridgeCryptoDepositMetadata),
RefundMetadata(BridgeRefundMetadata),
FiatDepositMetadata(BridgeFiatDepositMetadata),
CryptoTransferMetadata(BridgeCryptoTransferMetadata),
FiatTransferMetadata(BridgeFiatTransferMetadata),
TransferRefundMetadata(BridgeTransferRefundMetadata),
StaticMemoDepositMetadata(BridgeStaticMemoDepositMetadata),
}Expand description
Metadata about a Bridge transaction associated with a wallet event.
JSON schema
{
"title": "BridgeMetadata",
"description": "Metadata about a Bridge transaction associated with a
wallet event.",
"oneOf": [
{
"$ref": "#/components/schemas/BridgeCryptoDepositMetadata"
},
{
"$ref": "#/components/schemas/BridgeRefundMetadata"
},
{
"$ref": "#/components/schemas/BridgeFiatDepositMetadata"
},
{
"$ref": "#/components/schemas/BridgeCryptoTransferMetadata"
},
{
"$ref": "#/components/schemas/BridgeFiatTransferMetadata"
},
{
"$ref": "#/components/schemas/BridgeTransferRefundMetadata"
},
{
"$ref": "#/components/schemas/BridgeStaticMemoDepositMetadata"
}
],
"x-stainless-model": "webhooks.bridge_metadata"
}Variants§
CryptoDepositMetadata(BridgeCryptoDepositMetadata)
RefundMetadata(BridgeRefundMetadata)
FiatDepositMetadata(BridgeFiatDepositMetadata)
CryptoTransferMetadata(BridgeCryptoTransferMetadata)
FiatTransferMetadata(BridgeFiatTransferMetadata)
TransferRefundMetadata(BridgeTransferRefundMetadata)
StaticMemoDepositMetadata(BridgeStaticMemoDepositMetadata)
Trait Implementations§
Source§impl Clone for BridgeMetadata
impl Clone for BridgeMetadata
Source§fn clone(&self) -> BridgeMetadata
fn clone(&self) -> BridgeMetadata
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 BridgeMetadata
impl Debug for BridgeMetadata
Source§impl<'de> Deserialize<'de> for BridgeMetadata
impl<'de> Deserialize<'de> for BridgeMetadata
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<&BridgeMetadata> for BridgeMetadata
impl From<&BridgeMetadata> for BridgeMetadata
Source§fn from(value: &BridgeMetadata) -> Self
fn from(value: &BridgeMetadata) -> Self
Converts to this type from the input type.
Source§impl From<BridgeCryptoDepositMetadata> for BridgeMetadata
impl From<BridgeCryptoDepositMetadata> for BridgeMetadata
Source§fn from(value: BridgeCryptoDepositMetadata) -> Self
fn from(value: BridgeCryptoDepositMetadata) -> Self
Converts to this type from the input type.
Source§impl From<BridgeCryptoTransferMetadata> for BridgeMetadata
impl From<BridgeCryptoTransferMetadata> for BridgeMetadata
Source§fn from(value: BridgeCryptoTransferMetadata) -> Self
fn from(value: BridgeCryptoTransferMetadata) -> Self
Converts to this type from the input type.
Source§impl From<BridgeFiatDepositMetadata> for BridgeMetadata
impl From<BridgeFiatDepositMetadata> for BridgeMetadata
Source§fn from(value: BridgeFiatDepositMetadata) -> Self
fn from(value: BridgeFiatDepositMetadata) -> Self
Converts to this type from the input type.
Source§impl From<BridgeFiatTransferMetadata> for BridgeMetadata
impl From<BridgeFiatTransferMetadata> for BridgeMetadata
Source§fn from(value: BridgeFiatTransferMetadata) -> Self
fn from(value: BridgeFiatTransferMetadata) -> Self
Converts to this type from the input type.
Source§impl From<BridgeRefundMetadata> for BridgeMetadata
impl From<BridgeRefundMetadata> for BridgeMetadata
Source§fn from(value: BridgeRefundMetadata) -> Self
fn from(value: BridgeRefundMetadata) -> Self
Converts to this type from the input type.
Source§impl From<BridgeStaticMemoDepositMetadata> for BridgeMetadata
impl From<BridgeStaticMemoDepositMetadata> for BridgeMetadata
Source§fn from(value: BridgeStaticMemoDepositMetadata) -> Self
fn from(value: BridgeStaticMemoDepositMetadata) -> Self
Converts to this type from the input type.
Source§impl From<BridgeTransferRefundMetadata> for BridgeMetadata
impl From<BridgeTransferRefundMetadata> for BridgeMetadata
Source§fn from(value: BridgeTransferRefundMetadata) -> Self
fn from(value: BridgeTransferRefundMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BridgeMetadata
impl RefUnwindSafe for BridgeMetadata
impl Send for BridgeMetadata
impl Sync for BridgeMetadata
impl Unpin for BridgeMetadata
impl UnsafeUnpin for BridgeMetadata
impl UnwindSafe for BridgeMetadata
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