pub enum LoginMessageCode {
No,
Yes,
Unrecognized(i32),
}
Expand description
Whether a warning message should be displayed upon entering the game
Variants§
Trait Implementations§
Source§impl Clone for LoginMessageCode
impl Clone for LoginMessageCode
Source§fn clone(&self) -> LoginMessageCode
fn clone(&self) -> LoginMessageCode
Returns a copy 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 LoginMessageCode
impl Debug for LoginMessageCode
Source§impl Default for LoginMessageCode
impl Default for LoginMessageCode
Source§impl From<LoginMessageCode> for i32
impl From<LoginMessageCode> for i32
Source§fn from(value: LoginMessageCode) -> i32
fn from(value: LoginMessageCode) -> i32
Converts to this type from the input type.
Source§impl From<i32> for LoginMessageCode
impl From<i32> for LoginMessageCode
Source§impl PartialEq for LoginMessageCode
impl PartialEq for LoginMessageCode
impl Copy for LoginMessageCode
impl Eq for LoginMessageCode
impl StructuralPartialEq for LoginMessageCode
Auto Trait Implementations§
impl Freeze for LoginMessageCode
impl RefUnwindSafe for LoginMessageCode
impl Send for LoginMessageCode
impl Sync for LoginMessageCode
impl Unpin for LoginMessageCode
impl UnwindSafe for LoginMessageCode
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