pub enum MarriageReply {
AlreadyMarried,
NotMarried,
Success,
NotEnoughGold,
WrongName,
ServiceBusy,
DivorceNotification,
Unrecognized(i32),
}
Expand description
Reply code sent with MARRIAGE_REPLY packet
Variants§
AlreadyMarried
NotMarried
Success
NotEnoughGold
WrongName
ServiceBusy
DivorceNotification
Unrecognized(i32)
Trait Implementations§
Source§impl Clone for MarriageReply
impl Clone for MarriageReply
Source§fn clone(&self) -> MarriageReply
fn clone(&self) -> MarriageReply
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 MarriageReply
impl Debug for MarriageReply
Source§impl Default for MarriageReply
impl Default for MarriageReply
Source§impl From<MarriageReply> for i32
impl From<MarriageReply> for i32
Source§fn from(value: MarriageReply) -> i32
fn from(value: MarriageReply) -> i32
Converts to this type from the input type.
Source§impl From<i32> for MarriageReply
impl From<i32> for MarriageReply
Source§impl PartialEq for MarriageReply
impl PartialEq for MarriageReply
impl Copy for MarriageReply
impl Eq for MarriageReply
impl StructuralPartialEq for MarriageReply
Auto Trait Implementations§
impl Freeze for MarriageReply
impl RefUnwindSafe for MarriageReply
impl Send for MarriageReply
impl Sync for MarriageReply
impl Unpin for MarriageReply
impl UnwindSafe for MarriageReply
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