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