pub struct RconOptions {
pub enable: Option<bool>,
pub port: Option<u16>,
pub password: Option<String>,
}Fields§
§enable: Option<bool>§port: Option<u16>§password: Option<String>Trait Implementations§
source§impl Clone for RconOptions
impl Clone for RconOptions
source§fn clone(&self) -> RconOptions
fn clone(&self) -> RconOptions
Returns a copy 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 RconOptions
impl Debug for RconOptions
source§impl Default for RconOptions
impl Default for RconOptions
source§fn default() -> RconOptions
fn default() -> RconOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RconOptionswhere
RconOptions: Default,
impl<'de> Deserialize<'de> for RconOptionswhere
RconOptions: Default,
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
Auto Trait Implementations§
impl RefUnwindSafe for RconOptions
impl Send for RconOptions
impl Sync for RconOptions
impl Unpin for RconOptions
impl UnwindSafe for RconOptions
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