pub struct EthereumYieldPositionResponseAsset {
pub address: String,
pub symbol: String,
}Expand description
EthereumYieldPositionResponseAsset
JSON schema
{
"type": "object",
"required": [
"address",
"symbol"
],
"properties": {
"address": {
"description": "Token contract address.",
"type": "string"
},
"symbol": {
"description": "Token symbol (e.g., \"USDC\").",
"type": "string"
}
}
}Fields§
§address: StringToken contract address.
symbol: StringToken symbol (e.g., “USDC”).
Trait Implementations§
Source§impl Clone for EthereumYieldPositionResponseAsset
impl Clone for EthereumYieldPositionResponseAsset
Source§fn clone(&self) -> EthereumYieldPositionResponseAsset
fn clone(&self) -> EthereumYieldPositionResponseAsset
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<'de> Deserialize<'de> for EthereumYieldPositionResponseAsset
impl<'de> Deserialize<'de> for EthereumYieldPositionResponseAsset
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<&EthereumYieldPositionResponseAsset> for EthereumYieldPositionResponseAsset
impl From<&EthereumYieldPositionResponseAsset> for EthereumYieldPositionResponseAsset
Source§fn from(value: &EthereumYieldPositionResponseAsset) -> Self
fn from(value: &EthereumYieldPositionResponseAsset) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumYieldPositionResponseAsset
impl RefUnwindSafe for EthereumYieldPositionResponseAsset
impl Send for EthereumYieldPositionResponseAsset
impl Sync for EthereumYieldPositionResponseAsset
impl Unpin for EthereumYieldPositionResponseAsset
impl UnsafeUnpin for EthereumYieldPositionResponseAsset
impl UnwindSafe for EthereumYieldPositionResponseAsset
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