pub enum Ticker24hrResponse {
Variant0(Ticker),
Variant1(TickerList),
}
Expand description
Ticker24hrResponse
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/ticker"
},
{
"$ref": "#/components/schemas/tickerList"
}
]
}
Variants§
Variant0(Ticker)
Variant1(TickerList)
Trait Implementations§
Source§impl Clone for Ticker24hrResponse
impl Clone for Ticker24hrResponse
Source§fn clone(&self) -> Ticker24hrResponse
fn clone(&self) -> Ticker24hrResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 Ticker24hrResponse
impl Debug for Ticker24hrResponse
Source§impl<'de> Deserialize<'de> for Ticker24hrResponse
impl<'de> Deserialize<'de> for Ticker24hrResponse
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<&Ticker24hrResponse> for Ticker24hrResponse
impl From<&Ticker24hrResponse> for Ticker24hrResponse
Source§fn from(value: &Ticker24hrResponse) -> Self
fn from(value: &Ticker24hrResponse) -> Self
Converts to this type from the input type.
Source§impl From<Ticker> for Ticker24hrResponse
impl From<Ticker> for Ticker24hrResponse
Source§impl From<TickerList> for Ticker24hrResponse
impl From<TickerList> for Ticker24hrResponse
Source§fn from(value: TickerList) -> Self
fn from(value: TickerList) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Ticker24hrResponse
impl RefUnwindSafe for Ticker24hrResponse
impl Send for Ticker24hrResponse
impl Sync for Ticker24hrResponse
impl Unpin for Ticker24hrResponse
impl UnwindSafe for Ticker24hrResponse
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