pub struct StationHealth {
pub checked_at_ms: u64,
pub upstreams: Vec<UpstreamHealth>,
}Fields§
§checked_at_ms: u64§upstreams: Vec<UpstreamHealth>Trait Implementations§
Source§impl Clone for StationHealth
impl Clone for StationHealth
Source§fn clone(&self) -> StationHealth
fn clone(&self) -> StationHealth
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 StationHealth
impl Debug for StationHealth
Source§impl Default for StationHealth
impl Default for StationHealth
Source§fn default() -> StationHealth
fn default() -> StationHealth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StationHealth
impl<'de> Deserialize<'de> for StationHealth
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 StationHealth
impl PartialEq for StationHealth
Source§fn eq(&self, other: &StationHealth) -> bool
fn eq(&self, other: &StationHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StationHealth
impl Serialize for StationHealth
impl Eq for StationHealth
impl StructuralPartialEq for StationHealth
Auto Trait Implementations§
impl Freeze for StationHealth
impl RefUnwindSafe for StationHealth
impl Send for StationHealth
impl Sync for StationHealth
impl Unpin for StationHealth
impl UnsafeUnpin for StationHealth
impl UnwindSafe for StationHealth
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.