Enum dicom_core::value::partial::DateComponent
source · pub enum DateComponent {
Year,
Month,
Day,
Hour,
Minute,
Second,
Millisecond,
Fraction,
UtcWest,
UtcEast,
}Expand description
Represents components of Date, Time and DateTime values.
Variants§
Trait Implementations§
source§impl Clone for DateComponent
impl Clone for DateComponent
source§fn clone(&self) -> DateComponent
fn clone(&self) -> DateComponent
Returns a copy 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 DateComponent
impl Debug for DateComponent
source§impl Hash for DateComponent
impl Hash for DateComponent
source§impl Ord for DateComponent
impl Ord for DateComponent
source§fn cmp(&self, other: &DateComponent) -> Ordering
fn cmp(&self, other: &DateComponent) -> Ordering
1.21.0 · 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<DateComponent> for DateComponent
impl PartialEq<DateComponent> for DateComponent
source§fn eq(&self, other: &DateComponent) -> bool
fn eq(&self, other: &DateComponent) -> bool
source§impl PartialOrd<DateComponent> for DateComponent
impl PartialOrd<DateComponent> for DateComponent
source§fn partial_cmp(&self, other: &DateComponent) -> Option<Ordering>
fn partial_cmp(&self, other: &DateComponent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more