pub struct ServerSetup {
pub selected_version: VarInt,
pub parameters: Vec<KeyValuePair>,
}Fields§
§selected_version: VarInt§parameters: Vec<KeyValuePair>Trait Implementations§
Source§impl Clone for ServerSetup
impl Clone for ServerSetup
Source§fn clone(&self) -> ServerSetup
fn clone(&self) -> ServerSetup
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 ServerSetup
impl Debug for ServerSetup
Source§impl PartialEq for ServerSetup
impl PartialEq for ServerSetup
impl Eq for ServerSetup
impl StructuralPartialEq for ServerSetup
Auto Trait Implementations§
impl Freeze for ServerSetup
impl RefUnwindSafe for ServerSetup
impl Send for ServerSetup
impl Sync for ServerSetup
impl Unpin for ServerSetup
impl UnsafeUnpin for ServerSetup
impl UnwindSafe for ServerSetup
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