pub struct CalendarQuarter(/* private fields */);Expand description
A numeric calendar quarter received in a response.
This is distinct from crate::query::Quarter, whose textual 1 through
4 representations are query values. Response quarters are JSON integers.
Implementations§
Trait Implementations§
Source§impl Clone for CalendarQuarter
impl Clone for CalendarQuarter
impl Copy for CalendarQuarter
Source§impl Debug for CalendarQuarter
impl Debug for CalendarQuarter
Source§impl<'de> Deserialize<'de> for CalendarQuarter
impl<'de> Deserialize<'de> for CalendarQuarter
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 CalendarQuarter
impl Display for CalendarQuarter
impl Eq for CalendarQuarter
Source§impl From<CalendarQuarter> for u8
impl From<CalendarQuarter> for u8
Source§fn from(value: CalendarQuarter) -> Self
fn from(value: CalendarQuarter) -> Self
Converts to this type from the input type.
Source§impl Hash for CalendarQuarter
impl Hash for CalendarQuarter
Source§impl Ord for CalendarQuarter
impl Ord for CalendarQuarter
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CalendarQuarter
impl PartialEq for CalendarQuarter
Source§impl PartialOrd for CalendarQuarter
impl PartialOrd for CalendarQuarter
Source§impl Serialize for CalendarQuarter
impl Serialize for CalendarQuarter
impl StructuralPartialEq for CalendarQuarter
Auto Trait Implementations§
impl Freeze for CalendarQuarter
impl RefUnwindSafe for CalendarQuarter
impl Send for CalendarQuarter
impl Sync for CalendarQuarter
impl Unpin for CalendarQuarter
impl UnsafeUnpin for CalendarQuarter
impl UnwindSafe for CalendarQuarter
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