pub struct IpState {
pub u_id: Option<u16>,
pub d_id: Option<u16>,
pub u_lost: u32,
pub d_lost: u32,
}Fields§
§u_id: Option<u16>Uplink IP identification.
d_id: Option<u16>Downlink IP identification.
u_lost: u32Uplink packets lost.
d_lost: u32Downlink packets lost.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IpState
impl<'de> Deserialize<'de> for IpState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for IpState
impl Eq for IpState
impl StructuralPartialEq for IpState
Auto Trait Implementations§
impl Freeze for IpState
impl RefUnwindSafe for IpState
impl Send for IpState
impl Sync for IpState
impl Unpin for IpState
impl UnsafeUnpin for IpState
impl UnwindSafe for IpState
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