pub struct RoomRating {
pub rating: i32,
pub can_rate: bool,
}
Fields§
§rating: i32
§can_rate: bool
Trait Implementations§
Source§impl BaseParser for RoomRating
impl BaseParser for RoomRating
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 RoomRating
impl Clone for RoomRating
Source§fn clone(&self) -> RoomRating
fn clone(&self) -> RoomRating
Returns a duplicate 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 RoomRating
impl Debug for RoomRating
Source§impl Default for RoomRating
impl Default for RoomRating
Source§fn default() -> RoomRating
fn default() -> RoomRating
Returns the “default value” for a type. Read more
Source§impl PacketVariable for RoomRating
impl PacketVariable for RoomRating
Source§impl PartialEq for RoomRating
impl PartialEq for RoomRating
impl StructuralPartialEq for RoomRating
Auto Trait Implementations§
impl Freeze for RoomRating
impl RefUnwindSafe for RoomRating
impl Send for RoomRating
impl Sync for RoomRating
impl Unpin for RoomRating
impl UnwindSafe for RoomRating
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