pub struct DerpLatency {
pub preferred: Option<bool>,
pub latency_ms: Option<f64>,
pub unknown: Unknown,
}Expand description
One DERP server’s distance from the device.
Fields§
§preferred: Option<bool>true for the server this node prefers for incoming traffic.
latency_ms: Option<f64>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for DerpLatency
impl Clone for DerpLatency
Source§fn clone(&self) -> DerpLatency
fn clone(&self) -> DerpLatency
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 DerpLatency
impl Debug for DerpLatency
Source§impl<'de> Deserialize<'de> for DerpLatency
impl<'de> Deserialize<'de> for DerpLatency
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
Source§impl PartialEq for DerpLatency
impl PartialEq for DerpLatency
Source§impl Serialize for DerpLatency
impl Serialize for DerpLatency
impl StructuralPartialEq for DerpLatency
Auto Trait Implementations§
impl Freeze for DerpLatency
impl RefUnwindSafe for DerpLatency
impl Send for DerpLatency
impl Sync for DerpLatency
impl Unpin for DerpLatency
impl UnsafeUnpin for DerpLatency
impl UnwindSafe for DerpLatency
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