Enum aprs_parser::Timestamp
source · pub enum Timestamp {
DDHHMM(u8, u8, u8),
HHMMSS(u8, u8, u8),
Unsupported(Vec<u8>),
}
Variants§
DDHHMM(u8, u8, u8)
Day of month, Hour and Minute in UTC
HHMMSS(u8, u8, u8)
Hour, Minute and Second in UTC
Unsupported(Vec<u8>)
Unsupported timestamp format
Implementations§
Trait Implementations§
source§impl From<DhmTimestamp> for Timestamp
impl From<DhmTimestamp> for Timestamp
source§fn from(t: DhmTimestamp) -> Self
fn from(t: DhmTimestamp) -> Self
Converts to this type from the input type.
source§impl PartialEq for Timestamp
impl PartialEq for Timestamp
source§impl TryFrom<Timestamp> for DhmTimestamp
impl TryFrom<Timestamp> for DhmTimestamp
impl Eq for Timestamp
impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
impl RefUnwindSafe for Timestamp
impl Send for Timestamp
impl Sync for Timestamp
impl Unpin for Timestamp
impl UnwindSafe for Timestamp
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