pub struct DroneState {
pub ready: bool,
pub draining: bool,
pub last_heartbeat_age: Duration,
pub backend_count: u32,
pub node: NodeState,
}Fields§
§ready: bool§draining: bool§last_heartbeat_age: Duration§backend_count: u32§node: NodeStateTrait Implementations§
Source§impl Clone for DroneState
impl Clone for DroneState
Source§fn clone(&self) -> DroneState
fn clone(&self) -> DroneState
Returns a copy of the value. Read more
1.0.0 · 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 DroneState
impl Debug for DroneState
Source§impl<'de> Deserialize<'de> for DroneState
impl<'de> Deserialize<'de> for DroneState
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 DroneState
impl PartialEq for DroneState
Source§impl Serialize for DroneState
impl Serialize for DroneState
impl Eq for DroneState
impl StructuralPartialEq for DroneState
Auto Trait Implementations§
impl Freeze for DroneState
impl RefUnwindSafe for DroneState
impl Send for DroneState
impl Sync for DroneState
impl Unpin for DroneState
impl UnwindSafe for DroneState
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