pub enum SharedStateType {
Show 15 variants
Version,
ID,
DI,
IHave {
aircraft_callsign: String,
},
ScratchPad {
aircraft_callsign: String,
contents: ScratchPad,
},
TempAltitude {
aircraft_callsign: String,
altitude: i32,
},
FinalAltitude {
aircraft_callsign: String,
altitude: i32,
},
VoiceType {
aircraft_callsign: String,
voice_capability: VoiceCapability,
},
BeaconCode {
aircraft_callsign: String,
code: TransponderCode,
},
HandoffCancel {
aircraft_callsign: String,
},
FlightStrip {
aircraft_callsign: String,
format: Option<i32>,
contents: Option<Vec<String>>,
},
PushToDepartureList {
aircraft_callsign: String,
},
PointOut {
aircraft_callsign: String,
},
LandLine {
landline_type: LandLineType,
landline_command: LandLineCommand,
},
GlobalData {
aircraft_callsign: String,
contents: String,
},
}Variants§
Version
ID
DI
IHave
ScratchPad
TempAltitude
FinalAltitude
VoiceType
BeaconCode
HandoffCancel
FlightStrip
PushToDepartureList
PointOut
LandLine
GlobalData
Trait Implementations§
Source§fn clone(&self) -> SharedStateType
fn clone(&self) -> SharedStateType
Returns a duplicate 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 moreAuto Trait Implementations§
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