pub struct UsableTime {
pub year: u8,
pub day: u16,
pub day_fraction: u32,
}Expand description
Usable time range (optional, within metadata).
Fields§
§year: u8year (8 bits).
day: u16day (9 bits).
day_fraction: u32day_fraction (32 bits, spfmsbf raw).
Trait Implementations§
Source§impl Clone for UsableTime
impl Clone for UsableTime
Source§fn clone(&self) -> UsableTime
fn clone(&self) -> UsableTime
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 moreSource§impl Debug for UsableTime
impl Debug for UsableTime
impl Eq for UsableTime
Source§impl PartialEq for UsableTime
impl PartialEq for UsableTime
Source§fn eq(&self, other: &UsableTime) -> bool
fn eq(&self, other: &UsableTime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UsableTime
impl Serialize for UsableTime
impl StructuralPartialEq for UsableTime
Auto Trait Implementations§
impl Freeze for UsableTime
impl RefUnwindSafe for UsableTime
impl Send for UsableTime
impl Sync for UsableTime
impl Unpin for UsableTime
impl UnsafeUnpin for UsableTime
impl UnwindSafe for UsableTime
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