pub enum OperatorBackerCreateRequest {
Variant0 {
backer_account_id: Uuid,
backer_wallet_address: String,
},
Variant1 {
backer_account_id: Uuid,
wallet_address: String,
},
}Expand description
OperatorBackerCreateRequest
JSON schema
{
"type": "object",
"anyOf": [
{
"required": [
"backer_wallet_address"
]
},
{
"required": [
"wallet_address"
]
}
],
"required": [
"backer_account_id"
],
"properties": {
"backer_account_id": {
"description": "Account id to approve as a backer",
"type": "string",
"format": "uuid"
},
"backer_wallet_address": {
"description": "0x-prefixed EVM address allowed to post a bond. Also accepted under\nthe key `wallet_address`.\n",
"examples": [
"0x742d35Cc6634C0532925a3b844Bc9e7595f5fEfE"
],
"type": "string"
},
"wallet_address": {
"description": "Alias for `backer_wallet_address`.",
"examples": [
"0x742d35Cc6634C0532925a3b844Bc9e7595f5fEfE"
],
"type": "string"
}
}
}Variants§
Trait Implementations§
Source§impl Clone for OperatorBackerCreateRequest
impl Clone for OperatorBackerCreateRequest
Source§fn clone(&self) -> OperatorBackerCreateRequest
fn clone(&self) -> OperatorBackerCreateRequest
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 OperatorBackerCreateRequest
impl Debug for OperatorBackerCreateRequest
Source§impl<'de> Deserialize<'de> for OperatorBackerCreateRequest
impl<'de> Deserialize<'de> for OperatorBackerCreateRequest
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
Auto Trait Implementations§
impl Freeze for OperatorBackerCreateRequest
impl RefUnwindSafe for OperatorBackerCreateRequest
impl Send for OperatorBackerCreateRequest
impl Sync for OperatorBackerCreateRequest
impl Unpin for OperatorBackerCreateRequest
impl UnsafeUnpin for OperatorBackerCreateRequest
impl UnwindSafe for OperatorBackerCreateRequest
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