pub struct InternalLinkTypePassportDataRequest { /* private fields */ }
Expand description
The link contains a request of Telegram passport data. Call getPassportAuthorizationForm with the given parameters to process the link if the link was received from outside of the app, otherwise ignore it
Implementations§
source§impl InternalLinkTypePassportDataRequest
impl InternalLinkTypePassportDataRequest
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InternalLinkTypePassportDataRequestBuilder
pub fn bot_user_id(&self) -> i64
pub fn scope(&self) -> &String
pub fn public_key(&self) -> &String
pub fn nonce(&self) -> &String
pub fn callback_url(&self) -> &String
Trait Implementations§
source§impl AsRef<InternalLinkTypePassportDataRequest> for InternalLinkTypePassportDataRequest
impl AsRef<InternalLinkTypePassportDataRequest> for InternalLinkTypePassportDataRequest
source§fn as_ref(&self) -> &InternalLinkTypePassportDataRequest
fn as_ref(&self) -> &InternalLinkTypePassportDataRequest
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InternalLinkTypePassportDataRequest
impl Clone for InternalLinkTypePassportDataRequest
source§fn clone(&self) -> InternalLinkTypePassportDataRequest
fn clone(&self) -> InternalLinkTypePassportDataRequest
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 InternalLinkTypePassportDataRequest
impl Default for InternalLinkTypePassportDataRequest
source§fn default() -> InternalLinkTypePassportDataRequest
fn default() -> InternalLinkTypePassportDataRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InternalLinkTypePassportDataRequest
impl<'de> Deserialize<'de> for InternalLinkTypePassportDataRequest
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