Struct seaplane_cli::ops::formation::FormationConfiguration
source · pub struct FormationConfiguration {
pub id: Id,
pub remote_id: Option<Uuid>,
pub model: FormationConfigurationModel,
}Expand description
Wraps the FormationConfiguration model adding a local ID and the UUID associated
Fields§
§id: Id§remote_id: Option<Uuid>§model: FormationConfigurationModelImplementations§
source§impl FormationConfiguration
impl FormationConfiguration
pub fn new(model: FormationConfigurationModel) -> Self
pub fn with_uuid(uuid: Uuid, model: FormationConfigurationModel) -> Self
pub fn get_flight(&self, flight: &str) -> Option<&FlightModel>
sourcepub fn eq_without_id(&self, other: &Self) -> bool
pub fn eq_without_id(&self, other: &Self) -> bool
Performs equality check without consider the local ID
Trait Implementations§
source§impl Clone for FormationConfiguration
impl Clone for FormationConfiguration
source§fn clone(&self) -> FormationConfiguration
fn clone(&self) -> FormationConfiguration
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 FormationConfiguration
impl Debug for FormationConfiguration
source§impl<'de> Deserialize<'de> for FormationConfiguration
impl<'de> Deserialize<'de> for FormationConfiguration
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