pub struct Time {
pub zone: u8,
pub is_24h: bool,
pub date_format: DateFormat,
pub time: SystemTime,
pub name: CharString<3>,
}Expand description
Time structure for Protocol 3
Fields§
§zone: u8Time zone number (1 or 2)
is_24h: boolWhether to use 24 hour time format
date_format: DateFormatDate format to use
time: SystemTimeSystem time to use
name: CharString<3>Name of time zone (3 chars max)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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