pub struct TimeParts {
pub hour: u8,
pub minute: u8,
pub second: u8,
pub fraction: Option<String>,
}Expand description
The clock components of a FHIR time (hh:mm:ss with optional fraction).
Fields§
§hour: u8Hour 0..=23.
minute: u8Minute 0..=59.
second: u8Second 0..=59 (FHIR also permits 60 for leap seconds).
fraction: Option<String>Fractional-seconds digits, if present (e.g. "250" for .250).
Implementations§
Trait Implementations§
impl Eq for TimeParts
impl StructuralPartialEq for TimeParts
Auto Trait Implementations§
impl Freeze for TimeParts
impl RefUnwindSafe for TimeParts
impl Send for TimeParts
impl Sync for TimeParts
impl Unpin for TimeParts
impl UnsafeUnpin for TimeParts
impl UnwindSafe for TimeParts
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