pub enum PortfolioWindowPeriod {
X1d,
X1w,
X1m,
All,
}Expand description
Closed portfolio period token
JSON schema
{
"description": "Closed portfolio period token",
"type": "string",
"enum": [
"1d",
"1w",
"1m",
"all"
]
}Variants§
Trait Implementations§
Source§impl Clone for PortfolioWindowPeriod
impl Clone for PortfolioWindowPeriod
Source§fn clone(&self) -> PortfolioWindowPeriod
fn clone(&self) -> PortfolioWindowPeriod
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 PortfolioWindowPeriod
Source§impl Debug for PortfolioWindowPeriod
impl Debug for PortfolioWindowPeriod
Source§impl<'de> Deserialize<'de> for PortfolioWindowPeriod
impl<'de> Deserialize<'de> for PortfolioWindowPeriod
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 PortfolioWindowPeriod
impl Display for PortfolioWindowPeriod
impl Eq for PortfolioWindowPeriod
Source§impl FromStr for PortfolioWindowPeriod
impl FromStr for PortfolioWindowPeriod
Source§impl Hash for PortfolioWindowPeriod
impl Hash for PortfolioWindowPeriod
Source§impl Ord for PortfolioWindowPeriod
impl Ord for PortfolioWindowPeriod
Source§fn cmp(&self, other: &PortfolioWindowPeriod) -> Ordering
fn cmp(&self, other: &PortfolioWindowPeriod) -> 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 PortfolioWindowPeriod
impl PartialEq for PortfolioWindowPeriod
Source§impl PartialOrd for PortfolioWindowPeriod
impl PartialOrd for PortfolioWindowPeriod
Source§impl Serialize for PortfolioWindowPeriod
impl Serialize for PortfolioWindowPeriod
impl StructuralPartialEq for PortfolioWindowPeriod
Source§impl TryFrom<&String> for PortfolioWindowPeriod
impl TryFrom<&String> for PortfolioWindowPeriod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PortfolioWindowPeriod
impl TryFrom<&str> for PortfolioWindowPeriod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PortfolioWindowPeriod
impl TryFrom<String> for PortfolioWindowPeriod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PortfolioWindowPeriod
impl RefUnwindSafe for PortfolioWindowPeriod
impl Send for PortfolioWindowPeriod
impl Sync for PortfolioWindowPeriod
impl Unpin for PortfolioWindowPeriod
impl UnsafeUnpin for PortfolioWindowPeriod
impl UnwindSafe for PortfolioWindowPeriod
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