pub struct EthereumVaultPositionAsset {
pub address: String,
pub symbol: String,
}Expand description
EthereumVaultPositionAsset
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 EthereumVaultPositionAsset
impl Clone for EthereumVaultPositionAsset
Source§fn clone(&self) -> EthereumVaultPositionAsset
fn clone(&self) -> EthereumVaultPositionAsset
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 EthereumVaultPositionAsset
impl Debug for EthereumVaultPositionAsset
Source§impl<'de> Deserialize<'de> for EthereumVaultPositionAsset
impl<'de> Deserialize<'de> for EthereumVaultPositionAsset
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<&EthereumVaultPositionAsset> for EthereumVaultPositionAsset
impl From<&EthereumVaultPositionAsset> for EthereumVaultPositionAsset
Source§fn from(value: &EthereumVaultPositionAsset) -> Self
fn from(value: &EthereumVaultPositionAsset) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumVaultPositionAsset
impl RefUnwindSafe for EthereumVaultPositionAsset
impl Send for EthereumVaultPositionAsset
impl Sync for EthereumVaultPositionAsset
impl Unpin for EthereumVaultPositionAsset
impl UnsafeUnpin for EthereumVaultPositionAsset
impl UnwindSafe for EthereumVaultPositionAsset
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