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