Struct tdlib_types::types::EncryptedCredentials
source · Expand description
Contains encrypted Telegram Passport data credentials
Fields
data: String
The encrypted credentials
hash: String
The decrypted data hash
secret: String
Secret for data decryption, encrypted with the service’s public key
Trait Implementations
sourceimpl Clone for EncryptedCredentials
impl Clone for EncryptedCredentials
sourcefn clone(&self) -> EncryptedCredentials
fn clone(&self) -> EncryptedCredentials
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EncryptedCredentials
impl Debug for EncryptedCredentials
sourceimpl<'de> Deserialize<'de> for EncryptedCredentials
impl<'de> Deserialize<'de> for EncryptedCredentials
sourcefn 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
sourceimpl Serialize for EncryptedCredentials
impl Serialize for EncryptedCredentials
Auto Trait Implementations
impl RefUnwindSafe for EncryptedCredentials
impl Send for EncryptedCredentials
impl Sync for EncryptedCredentials
impl Unpin for EncryptedCredentials
impl UnwindSafe for EncryptedCredentials
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more