pub enum Type {
Number,
Time,
WeekTime,
DateTime,
}
Expand description
A type to describe different data types within the packet fields.
Variants§
Number
Floating-point number, supporting precision and an optional unit.
Time
Time as hours and minutes: “HH:MM”.
WeekTime
Date and time as weekday, hours and minutes: “DDD,HH:MM”.
DateTime
Date and time: “YYYY-MM-DD HH:MM:SS”
Trait Implementations§
impl Copy for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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