Struct rtsp_types::headers::range::UtcTime
source · pub struct UtcTime {
pub date: u32,
pub time: u32,
pub nanoseconds: Option<u32>,
}Expand description
Absolute Time (UTC) Time (RFC 7826 section 4.4.3).
Fields§
§date: u32YYYYMMDD date.
time: u32HHMMSS time.
nanoseconds: Option<u32>Nanoseconds.
Trait Implementations§
source§impl FromStr for UtcTime
impl FromStr for UtcTime
§type Err = HeaderParseError
type Err = HeaderParseError
The associated error which can be returned from parsing.
source§impl Ord for UtcTime
impl Ord for UtcTime
source§impl PartialEq for UtcTime
impl PartialEq for UtcTime
source§impl PartialOrd for UtcTime
impl PartialOrd for UtcTime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for UtcTime
impl Eq for UtcTime
impl StructuralPartialEq for UtcTime
Auto Trait Implementations§
impl Freeze for UtcTime
impl RefUnwindSafe for UtcTime
impl Send for UtcTime
impl Sync for UtcTime
impl Unpin for UtcTime
impl UnwindSafe for UtcTime
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