pub struct AcceptUrlAuth {
pub write_allowed: bool,
pub share_phone_number: bool,
pub peer: Option<InputPeer>,
pub msg_id: Option<i32>,
pub button_id: Option<i32>,
pub url: Option<String>,
}Expand description
Generated from:
messages.acceptUrlAuth#b12c7125 flags:# write_allowed:flags.0?true share_phone_number:flags.3?true peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResultFields§
§write_allowed: bool§peer: Option<InputPeer>§msg_id: Option<i32>§url: Option<String>Trait Implementations§
Source§impl Clone for AcceptUrlAuth
impl Clone for AcceptUrlAuth
Source§fn clone(&self) -> AcceptUrlAuth
fn clone(&self) -> AcceptUrlAuth
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 AcceptUrlAuth
impl Debug for AcceptUrlAuth
Source§impl Identifiable for AcceptUrlAuth
impl Identifiable for AcceptUrlAuth
Source§const CONSTRUCTOR_ID: u32 = 0xb12c7125
const CONSTRUCTOR_ID: u32 = 0xb12c7125
The constructor ID as specified in the TL schema.
Source§impl PartialEq for AcceptUrlAuth
impl PartialEq for AcceptUrlAuth
Source§impl RemoteCall for AcceptUrlAuth
impl RemoteCall for AcceptUrlAuth
Source§type Return = UrlAuthResult
type Return = UrlAuthResult
The deserialized response type.
Source§impl Serializable for AcceptUrlAuth
impl Serializable for AcceptUrlAuth
impl StructuralPartialEq for AcceptUrlAuth
Auto Trait Implementations§
impl Freeze for AcceptUrlAuth
impl RefUnwindSafe for AcceptUrlAuth
impl Send for AcceptUrlAuth
impl Sync for AcceptUrlAuth
impl Unpin for AcceptUrlAuth
impl UnsafeUnpin for AcceptUrlAuth
impl UnwindSafe for AcceptUrlAuth
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