pub enum QuickPlay {
World {
world: String,
},
Server {
server: String,
port: Option<u16>,
},
Realm {
realm: String,
},
None,
}Expand description
Options for the Minecraft QuickPlay feature
Variants§
World
QuickPlay a world
Server
QuickPlay a server
Fields
Realm
QuickPlay a realm
None
Don’t do any QuickPlay
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuickPlay
impl<'de> Deserialize<'de> for QuickPlay
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 QuickPlay
Auto Trait Implementations§
impl Freeze for QuickPlay
impl RefUnwindSafe for QuickPlay
impl Send for QuickPlay
impl Sync for QuickPlay
impl Unpin for QuickPlay
impl UnsafeUnpin for QuickPlay
impl UnwindSafe for QuickPlay
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DefaultExt for T
impl<T> DefaultExt for T
Source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Check if the value is equal to it’s default value