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