pub struct ResolveUsername {
pub username: String,
pub referer: Option<String>,
}Expand description
Generated from:
contacts.resolveUsername#725afbbc flags:# username:string referer:flags.0?string = contacts.ResolvedPeerFields§
§username: String§referer: Option<String>Trait Implementations§
Source§impl Clone for ResolveUsername
impl Clone for ResolveUsername
Source§fn clone(&self) -> ResolveUsername
fn clone(&self) -> ResolveUsername
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 ResolveUsername
impl Debug for ResolveUsername
Source§impl Identifiable for ResolveUsername
impl Identifiable for ResolveUsername
Source§const CONSTRUCTOR_ID: u32 = 0x725afbbc
const CONSTRUCTOR_ID: u32 = 0x725afbbc
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ResolveUsername
impl PartialEq for ResolveUsername
Source§impl RemoteCall for ResolveUsername
impl RemoteCall for ResolveUsername
Source§type Return = ResolvedPeer
type Return = ResolvedPeer
The deserialized response type.
Source§impl Serializable for ResolveUsername
impl Serializable for ResolveUsername
impl StructuralPartialEq for ResolveUsername
Auto Trait Implementations§
impl Freeze for ResolveUsername
impl RefUnwindSafe for ResolveUsername
impl Send for ResolveUsername
impl Sync for ResolveUsername
impl Unpin for ResolveUsername
impl UnsafeUnpin for ResolveUsername
impl UnwindSafe for ResolveUsername
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