pub struct DisbursementWalletTarget {
pub address: BlockchainAddress,
pub network: Network,
}Expand description
An onchain address that receives the disbursement.
JSON schema
{
"title": "Disbursement Wallet Target",
"description": "An onchain address that receives the disbursement.",
"examples": [
{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "base"
}
],
"type": "object",
"required": [
"address",
"network"
],
"properties": {
"address": {
"description": "The onchain crypto address of the recipient.",
"examples": [
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
],
"allOf": [
{
"$ref": "#/components/schemas/BlockchainAddress"
}
]
},
"network": {
"description": "The blockchain network on which the target receives funds.",
"examples": [
"base"
],
"allOf": [
{
"$ref": "#/components/schemas/Network"
}
]
}
}
}Fields§
§address: BlockchainAddressThe onchain crypto address of the recipient.
network: NetworkThe blockchain network on which the target receives funds.
Implementations§
Source§impl DisbursementWalletTarget
impl DisbursementWalletTarget
pub fn builder() -> DisbursementWalletTarget
Trait Implementations§
Source§impl Clone for DisbursementWalletTarget
impl Clone for DisbursementWalletTarget
Source§impl Debug for DisbursementWalletTarget
impl Debug for DisbursementWalletTarget
Source§impl<'de> Deserialize<'de> for DisbursementWalletTarget
impl<'de> Deserialize<'de> for DisbursementWalletTarget
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<&DisbursementWalletTarget> for DisbursementWalletTarget
impl From<&DisbursementWalletTarget> for DisbursementWalletTarget
Source§fn from(value: &DisbursementWalletTarget) -> Self
fn from(value: &DisbursementWalletTarget) -> Self
Converts to this type from the input type.
Source§impl From<DisbursementWalletTarget> for DisbursementTarget
impl From<DisbursementWalletTarget> for DisbursementTarget
Source§fn from(value: DisbursementWalletTarget) -> Self
fn from(value: DisbursementWalletTarget) -> Self
Converts to this type from the input type.
Source§impl From<DisbursementWalletTarget> for DisbursementWalletTarget
impl From<DisbursementWalletTarget> for DisbursementWalletTarget
Source§fn from(value: DisbursementWalletTarget) -> Self
fn from(value: DisbursementWalletTarget) -> Self
Converts to this type from the input type.
Source§impl Serialize for DisbursementWalletTarget
impl Serialize for DisbursementWalletTarget
Source§impl TryFrom<DisbursementWalletTarget> for DisbursementWalletTarget
impl TryFrom<DisbursementWalletTarget> for DisbursementWalletTarget
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DisbursementWalletTarget) -> Result<Self, ConversionError>
fn try_from(value: DisbursementWalletTarget) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DisbursementWalletTarget
impl RefUnwindSafe for DisbursementWalletTarget
impl Send for DisbursementWalletTarget
impl Sync for DisbursementWalletTarget
impl Unpin for DisbursementWalletTarget
impl UnsafeUnpin for DisbursementWalletTarget
impl UnwindSafe for DisbursementWalletTarget
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