pub struct BridgeRefundMetadata {
pub drain_id: String,
pub liquidation_address_id: String,
pub method: BridgeRefundMetadataMethod,
pub original_transaction_hash: String,
pub type_: BridgeRefundMetadataType,
}Expand description
Bridge metadata for a refund via liquidation address.
JSON schema
{
"title": "BridgeRefundMetadata",
"description": "Bridge metadata for a refund via liquidation address.",
"type": "object",
"required": [
"drain_id",
"liquidation_address_id",
"method",
"original_transaction_hash",
"type"
],
"properties": {
"drain_id": {
"type": "string"
},
"liquidation_address_id": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"liquidation_address"
]
},
"original_transaction_hash": {
"description": "The original deposit transaction hash that
triggered the failed drain.",
"type": "string"
},
"type": {
"type": "string",
"enum": [
"refund"
]
}
},
"x-stainless-model": "webhooks.bridge_refund_metadata"
}Fields§
§drain_id: String§liquidation_address_id: String§method: BridgeRefundMetadataMethod§original_transaction_hash: StringThe original deposit transaction hash that triggered the failed drain.
type_: BridgeRefundMetadataTypeTrait Implementations§
Source§impl Clone for BridgeRefundMetadata
impl Clone for BridgeRefundMetadata
Source§fn clone(&self) -> BridgeRefundMetadata
fn clone(&self) -> BridgeRefundMetadata
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 BridgeRefundMetadata
impl Debug for BridgeRefundMetadata
Source§impl<'de> Deserialize<'de> for BridgeRefundMetadata
impl<'de> Deserialize<'de> for BridgeRefundMetadata
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<&BridgeRefundMetadata> for BridgeRefundMetadata
impl From<&BridgeRefundMetadata> for BridgeRefundMetadata
Source§fn from(value: &BridgeRefundMetadata) -> Self
fn from(value: &BridgeRefundMetadata) -> 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.
Auto Trait Implementations§
impl Freeze for BridgeRefundMetadata
impl RefUnwindSafe for BridgeRefundMetadata
impl Send for BridgeRefundMetadata
impl Sync for BridgeRefundMetadata
impl Unpin for BridgeRefundMetadata
impl UnsafeUnpin for BridgeRefundMetadata
impl UnwindSafe for BridgeRefundMetadata
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