pub struct GameServer {
pub region: String,
pub game: String,
pub mode: String,
pub server_pub: String,
pub server_priv: String,
pub healthy: bool,
pub min_players: u32,
pub max_players: u32,
}Fields§
§region: String§game: String§mode: String§server_pub: String§server_priv: String§healthy: bool§min_players: u32§max_players: u32Trait Implementations§
Source§impl Clone for GameServer
impl Clone for GameServer
Source§fn clone(&self) -> GameServer
fn clone(&self) -> GameServer
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 GameServer
impl Debug for GameServer
Source§impl<'de> Deserialize<'de> for GameServer
impl<'de> Deserialize<'de> for GameServer
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 From<GameServer> for GameServerUpdater
impl From<GameServer> for GameServerUpdater
Source§fn from(parent: GameServer) -> Self
fn from(parent: GameServer) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GameServer
impl PartialEq for GameServer
Source§impl RedisExpireable for GameServer
impl RedisExpireable for GameServer
Source§impl RedisIdentifiable for GameServer
impl RedisIdentifiable for GameServer
Source§impl RedisInsertWriter for GameServer
impl RedisInsertWriter for GameServer
Source§impl RedisUpdater<GameServer> for GameServerUpdater
impl RedisUpdater<GameServer> for GameServerUpdater
impl StructuralPartialEq for GameServer
Auto Trait Implementations§
impl Freeze for GameServer
impl RefUnwindSafe for GameServer
impl Send for GameServer
impl Sync for GameServer
impl Unpin for GameServer
impl UnwindSafe for GameServer
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