Struct fast_server::server::Server
source · pub struct Server {
pub players: Vec<Player>,
pub settings: ServerSettings,
pub rsa_key: Rsa<Private>,
}Expand description
Struct to store the players, settings and to handle/ update the world
§Note
This Struct is not finished, but will be managing the minecraft world
Fields§
§players: Vec<Player>A list of all connected players
settings: ServerSettingsthe settings of the server
rsa_key: Rsa<Private>the private key used for the authentication of the players
Implementations§
Auto Trait Implementations§
impl Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
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