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