pub struct OfframpDepositInstructions {
pub amount: String,
pub chain: OfframpDepositInstructionsChain,
pub currency: OfframpDepositInstructionsCurrency,
pub from_address: String,
pub to_address: String,
}Expand description
OfframpDepositInstructions
JSON schema
{
"type": "object",
"required": [
"amount",
"chain",
"currency",
"from_address",
"to_address"
],
"properties": {
"amount": {
"type": "string"
},
"chain": {
"type": "string",
"enum": [
"arbitrum",
"base",
"ethereum",
"optimism",
"polygon"
]
},
"currency": {
"type": "string",
"enum": [
"usdc"
]
},
"from_address": {
"type": "string"
},
"to_address": {
"type": "string"
}
}
}Fields§
§amount: String§chain: OfframpDepositInstructionsChain§currency: OfframpDepositInstructionsCurrency§from_address: String§to_address: StringTrait Implementations§
Source§impl Clone for OfframpDepositInstructions
impl Clone for OfframpDepositInstructions
Source§fn clone(&self) -> OfframpDepositInstructions
fn clone(&self) -> OfframpDepositInstructions
Returns a duplicate of the value. Read more
1.0.0 · 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 OfframpDepositInstructions
impl Debug for OfframpDepositInstructions
Source§impl<'de> Deserialize<'de> for OfframpDepositInstructions
impl<'de> Deserialize<'de> for OfframpDepositInstructions
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<&OfframpDepositInstructions> for OfframpDepositInstructions
impl From<&OfframpDepositInstructions> for OfframpDepositInstructions
Source§fn from(value: &OfframpDepositInstructions) -> Self
fn from(value: &OfframpDepositInstructions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OfframpDepositInstructions
impl RefUnwindSafe for OfframpDepositInstructions
impl Send for OfframpDepositInstructions
impl Sync for OfframpDepositInstructions
impl Unpin for OfframpDepositInstructions
impl UnsafeUnpin for OfframpDepositInstructions
impl UnwindSafe for OfframpDepositInstructions
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