pub struct InputPassportElementInternalPassport { /* private fields */ }
Expand description
A Telegram Passport element to be saved containing the user’s internal passport
Implementations§
source§impl InputPassportElementInternalPassport
impl InputPassportElementInternalPassport
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputPassportElementInternalPassportBuilder
pub fn internal_passport(&self) -> &InputIdentityDocument
Trait Implementations§
source§impl AsRef<InputPassportElementInternalPassport> for InputPassportElementInternalPassport
impl AsRef<InputPassportElementInternalPassport> for InputPassportElementInternalPassport
source§fn as_ref(&self) -> &InputPassportElementInternalPassport
fn as_ref(&self) -> &InputPassportElementInternalPassport
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InputPassportElementInternalPassport
impl Clone for InputPassportElementInternalPassport
source§fn clone(&self) -> InputPassportElementInternalPassport
fn clone(&self) -> InputPassportElementInternalPassport
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 InputPassportElementInternalPassport
impl Default for InputPassportElementInternalPassport
source§fn default() -> InputPassportElementInternalPassport
fn default() -> InputPassportElementInternalPassport
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputPassportElementInternalPassport
impl<'de> Deserialize<'de> for InputPassportElementInternalPassport
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