pub enum EthereumYieldProvider {
Aave,
Morpho,
}Expand description
Supported yield/lending protocol providers.
JSON schema
{
"title": "EthereumYieldProvider",
"description": "Supported yield/lending protocol providers.",
"type": "string",
"enum": [
"aave",
"morpho"
],
"x-stainless-model": "yield.ethereum_yield_provider"
}Variants§
Trait Implementations§
Source§impl Clone for EthereumYieldProvider
impl Clone for EthereumYieldProvider
Source§fn clone(&self) -> EthereumYieldProvider
fn clone(&self) -> EthereumYieldProvider
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 EthereumYieldProvider
Source§impl Debug for EthereumYieldProvider
impl Debug for EthereumYieldProvider
Source§impl<'de> Deserialize<'de> for EthereumYieldProvider
impl<'de> Deserialize<'de> for EthereumYieldProvider
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 EthereumYieldProvider
impl Display for EthereumYieldProvider
impl Eq for EthereumYieldProvider
Source§impl From<&EthereumYieldProvider> for EthereumYieldProvider
impl From<&EthereumYieldProvider> for EthereumYieldProvider
Source§fn from(value: &EthereumYieldProvider) -> Self
fn from(value: &EthereumYieldProvider) -> Self
Converts to this type from the input type.
Source§impl FromStr for EthereumYieldProvider
impl FromStr for EthereumYieldProvider
Source§impl Hash for EthereumYieldProvider
impl Hash for EthereumYieldProvider
Source§impl Ord for EthereumYieldProvider
impl Ord for EthereumYieldProvider
Source§fn cmp(&self, other: &EthereumYieldProvider) -> Ordering
fn cmp(&self, other: &EthereumYieldProvider) -> 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 EthereumYieldProvider
impl PartialEq for EthereumYieldProvider
Source§fn eq(&self, other: &EthereumYieldProvider) -> bool
fn eq(&self, other: &EthereumYieldProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EthereumYieldProvider
impl PartialOrd for EthereumYieldProvider
Source§impl Serialize for EthereumYieldProvider
impl Serialize for EthereumYieldProvider
impl StructuralPartialEq for EthereumYieldProvider
Source§impl TryFrom<&String> for EthereumYieldProvider
impl TryFrom<&String> for EthereumYieldProvider
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for EthereumYieldProvider
impl TryFrom<&str> for EthereumYieldProvider
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for EthereumYieldProvider
impl TryFrom<String> for EthereumYieldProvider
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for EthereumYieldProvider
impl RefUnwindSafe for EthereumYieldProvider
impl Send for EthereumYieldProvider
impl Sync for EthereumYieldProvider
impl Unpin for EthereumYieldProvider
impl UnsafeUnpin for EthereumYieldProvider
impl UnwindSafe for EthereumYieldProvider
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