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