pub struct AdvancedSettings {Show 27 fields
pub allow_change_tailno: bool,
pub disable_events: bool,
pub allow_ownship_export: bool,
pub allow_object_export: bool,
pub pause_on_load: bool,
pub allow_sensor_export: bool,
pub event_takeoff: bool,
pub pause_without_clients: bool,
pub client_outbound_limit: i32,
pub client_inbound_limit: i32,
pub server_can_screenshot: bool,
pub allow_players_pool: bool,
pub voice_chat_server: bool,
pub allow_change_skin: bool,
pub event_connect: bool,
pub event_ejecting: bool,
pub event_kill: bool,
pub event_crash: bool,
pub event_role: bool,
pub resume_mode: i32,
pub max_ping: i32,
pub allow_trial_only_clients: bool,
pub allow_dynamic_radio: bool,
pub red_password_hash: Option<String>,
pub blue_password_hash: Option<String>,
pub red_password: Option<String>,
pub blue_password: Option<String>,
}Fields§
§allow_change_tailno: bool§disable_events: bool§allow_ownship_export: bool§allow_object_export: bool§pause_on_load: bool§allow_sensor_export: bool§event_takeoff: bool§pause_without_clients: bool§client_outbound_limit: i32§client_inbound_limit: i32§server_can_screenshot: bool§allow_players_pool: bool§voice_chat_server: bool§allow_change_skin: bool§event_connect: bool§event_ejecting: bool§event_kill: bool§event_crash: bool§event_role: bool§resume_mode: i32§max_ping: i32§allow_trial_only_clients: bool§allow_dynamic_radio: bool§red_password_hash: Option<String>§blue_password_hash: Option<String>§red_password: Option<String>§blue_password: Option<String>Trait Implementations§
Source§impl Clone for AdvancedSettings
impl Clone for AdvancedSettings
Source§fn clone(&self) -> AdvancedSettings
fn clone(&self) -> AdvancedSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdvancedSettings
impl Debug for AdvancedSettings
Source§impl<'de> Deserialize<'de> for AdvancedSettings
impl<'de> Deserialize<'de> for AdvancedSettings
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 AdvancedSettings
impl PartialEq for AdvancedSettings
Source§impl Serialize for AdvancedSettings
impl Serialize for AdvancedSettings
impl StructuralPartialEq for AdvancedSettings
Auto Trait Implementations§
impl Freeze for AdvancedSettings
impl RefUnwindSafe for AdvancedSettings
impl Send for AdvancedSettings
impl Sync for AdvancedSettings
impl Unpin for AdvancedSettings
impl UnsafeUnpin for AdvancedSettings
impl UnwindSafe for AdvancedSettings
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