pub struct PacketHeaders {
pub tx_time_seconds: u32,
/* private fields */
}
Fields§
§tx_time_seconds: u32
Time at the server when the response left for the client, in NTP timestamp format.
Implementations§
Source§impl PacketHeaders
impl PacketHeaders
Sourcepub fn get_unix_timestamp(self) -> u32
pub fn get_unix_timestamp(self) -> u32
get the unix timestamp based on the time the response left the server
Trait Implementations§
Source§impl Debug for PacketHeaders
impl Debug for PacketHeaders
Source§impl PartialEq for PacketHeaders
impl PartialEq for PacketHeaders
impl StructuralPartialEq for PacketHeaders
Auto Trait Implementations§
impl Freeze for PacketHeaders
impl RefUnwindSafe for PacketHeaders
impl Send for PacketHeaders
impl Sync for PacketHeaders
impl Unpin for PacketHeaders
impl UnwindSafe for PacketHeaders
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