Struct seaplane_cli::ops::formation::FlightStatuses
source · pub struct FlightStatuses { /* private fields */ }Implementations§
source§impl FlightStatuses
impl FlightStatuses
pub fn add_running<S: Into<String>>(
&mut self,
name: S,
minimum: u64,
maximum: Option<u64>
)
pub fn add_stopped<S: Into<String>>(
&mut self,
name: S,
error: bool,
minimum: u64,
maximum: Option<u64>
)
pub fn add_starting<S: Into<String>>(
&mut self,
name: S,
minimum: u64,
maximum: Option<u64>
)
pub fn is_empty(&self) -> bool
Trait Implementations§
source§impl Clone for FlightStatuses
impl Clone for FlightStatuses
source§fn clone(&self) -> FlightStatuses
fn clone(&self) -> FlightStatuses
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 FlightStatuses
impl Debug for FlightStatuses
source§impl Default for FlightStatuses
impl Default for FlightStatuses
source§fn default() -> FlightStatuses
fn default() -> FlightStatuses
Returns the “default value” for a type. Read more
source§impl PartialEq<FlightStatuses> for FlightStatuses
impl PartialEq<FlightStatuses> for FlightStatuses
source§fn eq(&self, other: &FlightStatuses) -> bool
fn eq(&self, other: &FlightStatuses) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FlightStatuses
impl Serialize for FlightStatuses
impl Eq for FlightStatuses
impl StructuralEq for FlightStatuses
impl StructuralPartialEq for FlightStatuses
Auto Trait Implementations§
impl RefUnwindSafe for FlightStatuses
impl Send for FlightStatuses
impl Sync for FlightStatuses
impl Unpin for FlightStatuses
impl UnwindSafe for FlightStatuses
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.