Struct tg_flows::PassportElementErrorFrontSide
source · pub struct PassportElementErrorFrontSide {
pub type: PassportElementErrorFrontSideType,
pub file_hash: String,
}Expand description
Represents an issue with the front side of a document.
The error is considered resolved when the file with the front side of the document changes.
Fields§
§type: PassportElementErrorFrontSideTypeThe section of the user’s Telegram Passport which has the issue.
file_hash: StringBase64-encoded hash of the file with the front side of the document.
Implementations§
Trait Implementations§
source§impl Clone for PassportElementErrorFrontSide
impl Clone for PassportElementErrorFrontSide
source§fn clone(&self) -> PassportElementErrorFrontSide
fn clone(&self) -> PassportElementErrorFrontSide
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<'de> Deserialize<'de> for PassportElementErrorFrontSide
impl<'de> Deserialize<'de> for PassportElementErrorFrontSide
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 Hash for PassportElementErrorFrontSide
impl Hash for PassportElementErrorFrontSide
source§impl PartialEq<PassportElementErrorFrontSide> for PassportElementErrorFrontSide
impl PartialEq<PassportElementErrorFrontSide> for PassportElementErrorFrontSide
source§fn eq(&self, other: &PassportElementErrorFrontSide) -> bool
fn eq(&self, other: &PassportElementErrorFrontSide) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PassportElementErrorFrontSide
impl StructuralEq for PassportElementErrorFrontSide
impl StructuralPartialEq for PassportElementErrorFrontSide
Auto Trait Implementations§
impl RefUnwindSafe for PassportElementErrorFrontSide
impl Send for PassportElementErrorFrontSide
impl Sync for PassportElementErrorFrontSide
impl Unpin for PassportElementErrorFrontSide
impl UnwindSafe for PassportElementErrorFrontSide
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