Struct rust_tdlib::types::SendPassportAuthorizationForm
source · pub struct SendPassportAuthorizationForm { /* private fields */ }
Expand description
Sends a Telegram Passport authorization form, effectively sharing data with the service. This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements are going to be reused
Implementations§
Trait Implementations§
source§impl AsRef<SendPassportAuthorizationForm> for SendPassportAuthorizationForm
impl AsRef<SendPassportAuthorizationForm> for SendPassportAuthorizationForm
source§fn as_ref(&self) -> &SendPassportAuthorizationForm
fn as_ref(&self) -> &SendPassportAuthorizationForm
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SendPassportAuthorizationForm
impl Clone for SendPassportAuthorizationForm
source§fn clone(&self) -> SendPassportAuthorizationForm
fn clone(&self) -> SendPassportAuthorizationForm
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 Default for SendPassportAuthorizationForm
impl Default for SendPassportAuthorizationForm
source§fn default() -> SendPassportAuthorizationForm
fn default() -> SendPassportAuthorizationForm
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SendPassportAuthorizationForm
impl<'de> Deserialize<'de> for SendPassportAuthorizationForm
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more