pub struct GetPassportElement {
pub type_: PassportElementType,
pub password: String,
}
Expand description
Returns one of the available Telegram Passport elements
Fields§
§type_: PassportElementType
Telegram Passport element type
password: String
Password of the current user
Trait Implementations§
Source§impl Clone for GetPassportElement
impl Clone for GetPassportElement
Source§fn clone(&self) -> GetPassportElement
fn clone(&self) -> GetPassportElement
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 GetPassportElement
impl Debug for GetPassportElement
Source§impl<'de> Deserialize<'de> for GetPassportElement
impl<'de> Deserialize<'de> for GetPassportElement
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
Source§impl Method for GetPassportElement
impl Method for GetPassportElement
Auto Trait Implementations§
impl Freeze for GetPassportElement
impl RefUnwindSafe for GetPassportElement
impl Send for GetPassportElement
impl Sync for GetPassportElement
impl Unpin for GetPassportElement
impl UnwindSafe for GetPassportElement
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