pub struct GetServerInfo {
pub protocol: u8,
}Expand description
Request an information from a game server.
Fields§
§protocol: u8Client protocol version.
Implementations§
Source§impl GetServerInfo
impl GetServerInfo
Trait Implementations§
Source§impl Clone for GetServerInfo
impl Clone for GetServerInfo
Source§fn clone(&self) -> GetServerInfo
fn clone(&self) -> GetServerInfo
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 GetServerInfo
impl Debug for GetServerInfo
Source§impl PartialEq for GetServerInfo
impl PartialEq for GetServerInfo
impl StructuralPartialEq for GetServerInfo
Auto Trait Implementations§
impl Freeze for GetServerInfo
impl RefUnwindSafe for GetServerInfo
impl Send for GetServerInfo
impl Sync for GetServerInfo
impl Unpin for GetServerInfo
impl UnwindSafe for GetServerInfo
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