Struct rust_tdlib::types::SetDatabaseEncryptionKey
source · [−]pub struct SetDatabaseEncryptionKey { /* private fields */ }Expand description
Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain
Implementations
Trait Implementations
sourceimpl AsRef<SetDatabaseEncryptionKey> for SetDatabaseEncryptionKey
impl AsRef<SetDatabaseEncryptionKey> for SetDatabaseEncryptionKey
sourcefn as_ref(&self) -> &SetDatabaseEncryptionKey
fn as_ref(&self) -> &SetDatabaseEncryptionKey
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SetDatabaseEncryptionKey
impl Clone for SetDatabaseEncryptionKey
sourcefn clone(&self) -> SetDatabaseEncryptionKey
fn clone(&self) -> SetDatabaseEncryptionKey
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 more
sourceimpl Debug for SetDatabaseEncryptionKey
impl Debug for SetDatabaseEncryptionKey
sourceimpl Default for SetDatabaseEncryptionKey
impl Default for SetDatabaseEncryptionKey
sourcefn default() -> SetDatabaseEncryptionKey
fn default() -> SetDatabaseEncryptionKey
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SetDatabaseEncryptionKey
impl<'de> Deserialize<'de> for SetDatabaseEncryptionKey
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 SetDatabaseEncryptionKey
impl Serialize for SetDatabaseEncryptionKey
Auto Trait Implementations
impl RefUnwindSafe for SetDatabaseEncryptionKey
impl Send for SetDatabaseEncryptionKey
impl Sync for SetDatabaseEncryptionKey
impl Unpin for SetDatabaseEncryptionKey
impl UnwindSafe for SetDatabaseEncryptionKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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