pub struct RefundWallet {
pub address: BlockchainAddress,
}Expand description
An onchain address from which funds are pulled to fund the refund. Network and asset are inferred from the payment session.
JSON schema
{
"title": "Refund Wallet",
"description": "An onchain address from which funds are pulled to fund the refund. Network and asset are inferred from the payment session.",
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"description": "The onchain crypto address from which to fund the refund.",
"examples": [
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
],
"allOf": [
{
"$ref": "#/components/schemas/BlockchainAddress"
}
]
}
}
}Fields§
§address: BlockchainAddressThe onchain crypto address from which to fund the refund.
Implementations§
Source§impl RefundWallet
impl RefundWallet
pub fn builder() -> RefundWallet
Trait Implementations§
Source§impl Clone for RefundWallet
impl Clone for RefundWallet
Source§impl Debug for RefundWallet
impl Debug for RefundWallet
Source§impl<'de> Deserialize<'de> for RefundWallet
impl<'de> Deserialize<'de> for RefundWallet
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<&RefundWallet> for RefundWallet
impl From<&RefundWallet> for RefundWallet
Source§fn from(value: &RefundWallet) -> Self
fn from(value: &RefundWallet) -> Self
Converts to this type from the input type.
Source§impl From<RefundWallet> for RefundSource
impl From<RefundWallet> for RefundSource
Source§fn from(value: RefundWallet) -> Self
fn from(value: RefundWallet) -> Self
Converts to this type from the input type.
Source§impl From<RefundWallet> for RefundWallet
impl From<RefundWallet> for RefundWallet
Source§fn from(value: RefundWallet) -> Self
fn from(value: RefundWallet) -> Self
Converts to this type from the input type.
Source§impl Serialize for RefundWallet
impl Serialize for RefundWallet
Source§impl TryFrom<RefundWallet> for RefundWallet
impl TryFrom<RefundWallet> for RefundWallet
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RefundWallet) -> Result<Self, ConversionError>
fn try_from(value: RefundWallet) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RefundWallet
impl RefUnwindSafe for RefundWallet
impl Send for RefundWallet
impl Sync for RefundWallet
impl Unpin for RefundWallet
impl UnsafeUnpin for RefundWallet
impl UnwindSafe for RefundWallet
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