pub enum GetPositionPnlHistoryInterval {
X1m,
X5m,
X15m,
X1h,
X4h,
X1d,
}Expand description
GetPositionPnlHistoryInterval
JSON schema
{
"type": "string",
"enum": [
"1m",
"5m",
"15m",
"1h",
"4h",
"1d"
],
"minLength": 1
}Variants§
Trait Implementations§
Source§impl Clone for GetPositionPnlHistoryInterval
impl Clone for GetPositionPnlHistoryInterval
Source§fn clone(&self) -> GetPositionPnlHistoryInterval
fn clone(&self) -> GetPositionPnlHistoryInterval
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 GetPositionPnlHistoryInterval
Source§impl<'de> Deserialize<'de> for GetPositionPnlHistoryInterval
impl<'de> Deserialize<'de> for GetPositionPnlHistoryInterval
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
impl Eq for GetPositionPnlHistoryInterval
Source§impl Hash for GetPositionPnlHistoryInterval
impl Hash for GetPositionPnlHistoryInterval
Source§impl Ord for GetPositionPnlHistoryInterval
impl Ord for GetPositionPnlHistoryInterval
Source§fn cmp(&self, other: &GetPositionPnlHistoryInterval) -> Ordering
fn cmp(&self, other: &GetPositionPnlHistoryInterval) -> 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 PartialOrd for GetPositionPnlHistoryInterval
impl PartialOrd for GetPositionPnlHistoryInterval
impl StructuralPartialEq for GetPositionPnlHistoryInterval
Source§impl TryFrom<&String> for GetPositionPnlHistoryInterval
impl TryFrom<&String> for GetPositionPnlHistoryInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for GetPositionPnlHistoryInterval
impl TryFrom<&str> for GetPositionPnlHistoryInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for GetPositionPnlHistoryInterval
impl TryFrom<String> for GetPositionPnlHistoryInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for GetPositionPnlHistoryInterval
impl RefUnwindSafe for GetPositionPnlHistoryInterval
impl Send for GetPositionPnlHistoryInterval
impl Sync for GetPositionPnlHistoryInterval
impl Unpin for GetPositionPnlHistoryInterval
impl UnsafeUnpin for GetPositionPnlHistoryInterval
impl UnwindSafe for GetPositionPnlHistoryInterval
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