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<EthereumYieldPositionResponseAsset, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumYieldPositionResponseAsset, <__D as Deserializer<'de>>::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,
) -> EthereumYieldPositionResponseAsset
fn from( value: &EthereumYieldPositionResponseAsset, ) -> EthereumYieldPositionResponseAsset
Converts to this type from the input type.
Source§impl Serialize for EthereumYieldPositionResponseAsset
impl Serialize for EthereumYieldPositionResponseAsset
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 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