pub struct InputPersonalDocument { /* private fields */ }
Expand description
A personal document to be saved to Telegram Passport
Implementations§
Trait Implementations§
Source§impl AsRef<InputPersonalDocument> for InputPersonalDocument
impl AsRef<InputPersonalDocument> for InputPersonalDocument
Source§fn as_ref(&self) -> &InputPersonalDocument
fn as_ref(&self) -> &InputPersonalDocument
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InputPersonalDocument
impl Clone for InputPersonalDocument
Source§fn clone(&self) -> InputPersonalDocument
fn clone(&self) -> InputPersonalDocument
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 Debug for InputPersonalDocument
impl Debug for InputPersonalDocument
Source§impl Default for InputPersonalDocument
impl Default for InputPersonalDocument
Source§fn default() -> InputPersonalDocument
fn default() -> InputPersonalDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputPersonalDocument
impl<'de> Deserialize<'de> for InputPersonalDocument
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
Auto Trait Implementations§
impl Freeze for InputPersonalDocument
impl RefUnwindSafe for InputPersonalDocument
impl Send for InputPersonalDocument
impl Sync for InputPersonalDocument
impl Unpin for InputPersonalDocument
impl UnwindSafe for InputPersonalDocument
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