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<OfframpDepositInstructions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OfframpDepositInstructions, <__D as Deserializer<'de>>::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) -> OfframpDepositInstructions
fn from(value: &OfframpDepositInstructions) -> OfframpDepositInstructions
Converts to this type from the input type.
Source§impl Serialize for OfframpDepositInstructions
impl Serialize for OfframpDepositInstructions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OfframpDepositInstructions
impl RefUnwindSafe for OfframpDepositInstructions
impl Send for OfframpDepositInstructions
impl Sync for OfframpDepositInstructions
impl Unpin 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