Struct tg_bot_models::PassportFile [−][src]
This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.
Fields
file_id: String
Unique identifier for this file
file_size: i64
File size
file_date: i64
Unix time when the file was uploaded
Trait Implementations
impl Debug for PassportFile
[src]
impl Debug for PassportFile
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PassportFile
[src]
impl Clone for PassportFile
fn clone(&self) -> PassportFile
[src]
fn clone(&self) -> PassportFile
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PassportFile
[src]
impl PartialEq for PassportFile
fn eq(&self, other: &PassportFile) -> bool
[src]
fn eq(&self, other: &PassportFile) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PassportFile) -> bool
[src]
fn ne(&self, other: &PassportFile) -> bool
This method tests for !=
.
impl PartialOrd for PassportFile
[src]
impl PartialOrd for PassportFile
fn partial_cmp(&self, other: &PassportFile) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &PassportFile) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &PassportFile) -> bool
[src]
fn lt(&self, other: &PassportFile) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &PassportFile) -> bool
[src]
fn le(&self, other: &PassportFile) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &PassportFile) -> bool
[src]
fn gt(&self, other: &PassportFile) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &PassportFile) -> bool
[src]
fn ge(&self, other: &PassportFile) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Auto Trait Implementations
impl Send for PassportFile
impl Send for PassportFile
impl Sync for PassportFile
impl Sync for PassportFile