pub struct ClientSettings {
pub instance: u32,
pub host_id: String,
pub server: ServerSettings,
pub player: PlayerSettings,
pub logging: LoggingSettings,
pub daemon: Option<DaemonSettings>,
}Expand description
Top-level client settings.
Fields§
§instance: u32Instance id when running multiple clients on one host.
host_id: StringUnique host identifier (default: MAC address).
server: ServerSettingsServer connection settings.
player: PlayerSettingsAudio player settings.
logging: LoggingSettingsLogging configuration.
daemon: Option<DaemonSettings>Daemon settings (Unix only).
Trait Implementations§
Source§impl Clone for ClientSettings
impl Clone for ClientSettings
Source§fn clone(&self) -> ClientSettings
fn clone(&self) -> ClientSettings
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 ClientSettings
impl Debug for ClientSettings
Auto Trait Implementations§
impl Freeze for ClientSettings
impl RefUnwindSafe for ClientSettings
impl Send for ClientSettings
impl Sync for ClientSettings
impl Unpin for ClientSettings
impl UnsafeUnpin for ClientSettings
impl UnwindSafe for ClientSettings
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