pub struct InputPersonalDocument {
pub files: Vec<InputFile>,
pub translation: Vec<InputFile>,
}
Expand description
A personal document to be saved to Telegram Passport
Fields§
§files: Vec<InputFile>
List of files containing the pages of the document
translation: Vec<InputFile>
List of files containing a certified English translation of the document
Trait Implementations§
Source§impl Clone for InputPersonalDocument
impl Clone for InputPersonalDocument
Source§fn clone(&self) -> InputPersonalDocument
fn clone(&self) -> InputPersonalDocument
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 InputPersonalDocument
impl Debug for InputPersonalDocument
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