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