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