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