pub struct Info {
pub max_clients: i64,
pub max_players: i64,
pub passworded: bool,
pub gametype: String,
pub name: String,
pub map: IMap,
pub version: String,
pub clients: Vec<Client>,
pub requires_login: bool,
pub community: Option<Community>,
}
Fields§
§max_clients: i64
§max_players: i64
§passworded: bool
§gametype: String
§name: String
§map: IMap
§version: String
§clients: Vec<Client>
§requires_login: bool
§community: Option<Community>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
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
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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