pub enum EthereumEarnProvider {
Aave,
Morpho,
}Expand description
Supported earn provider protocols.
JSON schema
{
"title": "EthereumEarnProvider",
"description": "Supported earn provider protocols.",
"type": "string",
"enum": [
"aave",
"morpho"
],
"x-stainless-model": "wallet_actions.ethereum_earn_provider"
}Variants§
Trait Implementations§
Source§impl Clone for EthereumEarnProvider
impl Clone for EthereumEarnProvider
Source§fn clone(&self) -> EthereumEarnProvider
fn clone(&self) -> EthereumEarnProvider
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 moreimpl Copy for EthereumEarnProvider
Source§impl Debug for EthereumEarnProvider
impl Debug for EthereumEarnProvider
Source§impl<'de> Deserialize<'de> for EthereumEarnProvider
impl<'de> Deserialize<'de> for EthereumEarnProvider
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 Display for EthereumEarnProvider
impl Display for EthereumEarnProvider
impl Eq for EthereumEarnProvider
Source§impl From<&EthereumEarnProvider> for EthereumEarnProvider
impl From<&EthereumEarnProvider> for EthereumEarnProvider
Source§fn from(value: &EthereumEarnProvider) -> Self
fn from(value: &EthereumEarnProvider) -> Self
Converts to this type from the input type.
Source§impl FromStr for EthereumEarnProvider
impl FromStr for EthereumEarnProvider
Source§impl Hash for EthereumEarnProvider
impl Hash for EthereumEarnProvider
Source§impl Ord for EthereumEarnProvider
impl Ord for EthereumEarnProvider
Source§fn cmp(&self, other: &EthereumEarnProvider) -> Ordering
fn cmp(&self, other: &EthereumEarnProvider) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EthereumEarnProvider
impl PartialEq for EthereumEarnProvider
Source§fn eq(&self, other: &EthereumEarnProvider) -> bool
fn eq(&self, other: &EthereumEarnProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EthereumEarnProvider
impl PartialOrd for EthereumEarnProvider
Source§impl Serialize for EthereumEarnProvider
impl Serialize for EthereumEarnProvider
impl StructuralPartialEq for EthereumEarnProvider
Source§impl TryFrom<&String> for EthereumEarnProvider
impl TryFrom<&String> for EthereumEarnProvider
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for EthereumEarnProvider
impl TryFrom<&str> for EthereumEarnProvider
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for EthereumEarnProvider
impl TryFrom<String> for EthereumEarnProvider
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for EthereumEarnProvider
impl RefUnwindSafe for EthereumEarnProvider
impl Send for EthereumEarnProvider
impl Sync for EthereumEarnProvider
impl Unpin for EthereumEarnProvider
impl UnsafeUnpin for EthereumEarnProvider
impl UnwindSafe for EthereumEarnProvider
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