pub enum ClientResponseType {
Com1Freq {
frequency: RadioFrequency,
},
ATIS {
atis_line: AtisLine,
},
RealName {
name: String,
sector_file: String,
rating: u8,
},
Capabilities {
capabilities: Vec<ClientCapability>,
},
PublicIP {
ip_address: String,
},
Server {
hostname_or_ip_address: String,
},
IsValidATC {
atc_callsign: String,
valid_atc: bool,
},
}Variants§
Com1Freq
Fields
§
frequency: RadioFrequencyATIS
RealName
Capabilities
Fields
§
capabilities: Vec<ClientCapability>PublicIP
Server
IsValidATC
Trait Implementations§
Source§impl Clone for ClientResponseType
impl Clone for ClientResponseType
Source§fn clone(&self) -> ClientResponseType
fn clone(&self) -> ClientResponseType
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 moreSource§impl Debug for ClientResponseType
impl Debug for ClientResponseType
Auto Trait Implementations§
impl Freeze for ClientResponseType
impl RefUnwindSafe for ClientResponseType
impl Send for ClientResponseType
impl Sync for ClientResponseType
impl Unpin for ClientResponseType
impl UnwindSafe for ClientResponseType
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