pub struct OODStatus {Show 18 fields
pub network: OODNetworkType,
pub first_ping: u64,
pub first_success_ping: u64,
pub last_success_ping: u64,
pub last_ping: u64,
pub last_ping_result: u16,
pub ping_count: u32,
pub ping_success_count: u64,
pub cont_fail_count: u64,
pub ping_avg_during: u64,
pub ping_max_during: u64,
pub ping_min_during: u64,
pub ood_device_id: DeviceId,
pub enable_sync: bool,
pub device_root_state: ObjectId,
pub device_root_state_revision: u64,
pub zone_root_state: Option<ObjectId>,
pub zone_root_state_revision: u64,
}Fields§
§network: OODNetworkType§first_ping: u64§first_success_ping: u64§last_success_ping: u64§last_ping: u64§last_ping_result: u16§ping_count: u32§ping_success_count: u64§cont_fail_count: u64§ping_avg_during: u64§ping_max_during: u64§ping_min_during: u64§ood_device_id: DeviceId§enable_sync: bool§device_root_state: ObjectId§device_root_state_revision: u64§zone_root_state: Option<ObjectId>§zone_root_state_revision: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for OODStatus
impl<'de> Deserialize<'de> for OODStatus
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
Auto Trait Implementations§
impl Freeze for OODStatus
impl RefUnwindSafe for OODStatus
impl Send for OODStatus
impl Sync for OODStatus
impl Unpin for OODStatus
impl UnwindSafe for OODStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more