pub struct ClientOptions {
pub host: String,
pub port_override: Option<u16>,
pub stats_api_ini_path: Option<PathBuf>,
pub auto_enable_packet_rate: bool,
pub packet_send_rate: f32,
pub set_packet_rate_only_when_zero: bool,
}Fields§
§host: String§port_override: Option<u16>§stats_api_ini_path: Option<PathBuf>§auto_enable_packet_rate: bool§packet_send_rate: f32§set_packet_rate_only_when_zero: boolTrait Implementations§
Source§impl Clone for ClientOptions
impl Clone for ClientOptions
Source§fn clone(&self) -> ClientOptions
fn clone(&self) -> ClientOptions
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 ClientOptions
impl Debug for ClientOptions
Auto Trait Implementations§
impl Freeze for ClientOptions
impl RefUnwindSafe for ClientOptions
impl Send for ClientOptions
impl Sync for ClientOptions
impl Unpin for ClientOptions
impl UnsafeUnpin for ClientOptions
impl UnwindSafe for ClientOptions
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