pub struct PassportElementErrorUnspecified {
pub type_: String,
pub element_hash: String,
pub message: String,
}Expand description
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
Fields§
§type_: StringType of element of the user’s Telegram Passport which has the issue
element_hash: StringBase64-encoded element hash
message: StringError message
Implementations§
Trait Implementations§
Source§impl Clone for PassportElementErrorUnspecified
impl Clone for PassportElementErrorUnspecified
Source§fn clone(&self) -> PassportElementErrorUnspecified
fn clone(&self) -> PassportElementErrorUnspecified
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<'de> Deserialize<'de> for PassportElementErrorUnspecified
impl<'de> Deserialize<'de> for PassportElementErrorUnspecified
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 From<PassportElementErrorUnspecified> for PassportElementError
impl From<PassportElementErrorUnspecified> for PassportElementError
Source§fn from(o: PassportElementErrorUnspecified) -> Self
fn from(o: PassportElementErrorUnspecified) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PassportElementErrorUnspecified
impl RefUnwindSafe for PassportElementErrorUnspecified
impl Send for PassportElementErrorUnspecified
impl Sync for PassportElementErrorUnspecified
impl Unpin for PassportElementErrorUnspecified
impl UnwindSafe for PassportElementErrorUnspecified
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