Struct iso_8601::HTime [−][src]
pub struct HTime { pub hour: u8, }
A specific hour (4.2.2.3b)
Fields
hour: u8
Trait Implementations
impl Eq for HTime
[src]
impl Eq for HTime
impl PartialEq for HTime
[src]
impl PartialEq for HTime
fn eq(&self, other: &HTime) -> bool
[src]
fn eq(&self, other: &HTime) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &HTime) -> bool
[src]
fn ne(&self, other: &HTime) -> bool
This method tests for !=
.
impl Clone for HTime
[src]
impl Clone for HTime
fn clone(&self) -> HTime
[src]
fn clone(&self) -> HTime
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for HTime
[src]
impl Debug for HTime
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl NaiveTime for HTime
[src]
impl NaiveTime for HTime
impl Valid for HTime
[src]
impl Valid for HTime
impl From<HmsTime> for HTime
[src]
impl From<HmsTime> for HTime
impl From<HmTime> for HTime
[src]
impl From<HmTime> for HTime