pub struct MysteryBoxKeys {
pub box_color: String,
pub key_color: String,
}
Fields§
§box_color: String
§key_color: String
Trait Implementations§
source§impl BaseParser for MysteryBoxKeys
impl BaseParser for MysteryBoxKeys
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for MysteryBoxKeys
impl Clone for MysteryBoxKeys
source§fn clone(&self) -> MysteryBoxKeys
fn clone(&self) -> MysteryBoxKeys
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 MysteryBoxKeys
impl Debug for MysteryBoxKeys
source§impl Default for MysteryBoxKeys
impl Default for MysteryBoxKeys
source§fn default() -> MysteryBoxKeys
fn default() -> MysteryBoxKeys
Returns the “default value” for a type. Read more
source§impl PacketVariable for MysteryBoxKeys
impl PacketVariable for MysteryBoxKeys
source§impl PartialEq<MysteryBoxKeys> for MysteryBoxKeys
impl PartialEq<MysteryBoxKeys> for MysteryBoxKeys
source§fn eq(&self, other: &MysteryBoxKeys) -> bool
fn eq(&self, other: &MysteryBoxKeys) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MysteryBoxKeys
Auto Trait Implementations§
impl RefUnwindSafe for MysteryBoxKeys
impl Send for MysteryBoxKeys
impl Sync for MysteryBoxKeys
impl Unpin for MysteryBoxKeys
impl UnwindSafe for MysteryBoxKeys
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