pub struct DeviceStatusSnapshot {Show 21 fields
pub device: Device,
pub presence_status: DevicePresenceStatus,
pub presence_updated_at: Option<i64>,
pub presence_expires_at: Option<i64>,
pub connectable: bool,
pub connection_status: DeviceConnectionStatus,
pub settled_ready: bool,
pub readiness_state: ReadinessState,
pub readiness_reason: String,
pub peer_health: ConnectionHealth,
pub peer_id: Option<String>,
pub scopes: Vec<String>,
pub connection_id: Option<String>,
pub device_id_hint: Option<String>,
pub active_transport_stable_id: Option<u64>,
pub transport_generation: u64,
pub route_generation: u64,
pub active_transport: String,
pub parallel_transport: Option<String>,
pub latency_ms: Option<u64>,
pub latency_by_transport: TransportLatencySnapshot,
}Fields§
§device: Device§presence_status: DevicePresenceStatus§presence_updated_at: Option<i64>§presence_expires_at: Option<i64>§connectable: bool§connection_status: DeviceConnectionStatus§settled_ready: bool§readiness_state: ReadinessState§readiness_reason: String§peer_health: ConnectionHealth§peer_id: Option<String>§scopes: Vec<String>§connection_id: Option<String>§device_id_hint: Option<String>§active_transport_stable_id: Option<u64>§transport_generation: u64§route_generation: u64§active_transport: String§parallel_transport: Option<String>§latency_ms: Option<u64>§latency_by_transport: TransportLatencySnapshotTrait Implementations§
Source§impl Clone for DeviceStatusSnapshot
impl Clone for DeviceStatusSnapshot
Source§fn clone(&self) -> DeviceStatusSnapshot
fn clone(&self) -> DeviceStatusSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceStatusSnapshot
impl Debug for DeviceStatusSnapshot
Source§impl<'de> Deserialize<'de> for DeviceStatusSnapshot
impl<'de> Deserialize<'de> for DeviceStatusSnapshot
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 DeviceStatusSnapshot
impl RefUnwindSafe for DeviceStatusSnapshot
impl Send for DeviceStatusSnapshot
impl Sync for DeviceStatusSnapshot
impl Unpin for DeviceStatusSnapshot
impl UnsafeUnpin for DeviceStatusSnapshot
impl UnwindSafe for DeviceStatusSnapshot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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