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