Enum tdlib::enums::CanTransferOwnershipResult
source · pub enum CanTransferOwnershipResult {
Ok,
PasswordNeeded,
PasswordTooFresh(CanTransferOwnershipResultPasswordTooFresh),
SessionTooFresh(CanTransferOwnershipResultSessionTooFresh),
}
Variants§
Ok
The session can be used
PasswordNeeded
The 2-step verification needs to be enabled first
PasswordTooFresh(CanTransferOwnershipResultPasswordTooFresh)
The 2-step verification was enabled recently, user needs to wait
SessionTooFresh(CanTransferOwnershipResultSessionTooFresh)
The session was created recently, user needs to wait
Trait Implementations§
source§impl Clone for CanTransferOwnershipResult
impl Clone for CanTransferOwnershipResult
source§fn clone(&self) -> CanTransferOwnershipResult
fn clone(&self) -> CanTransferOwnershipResult
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 Debug for CanTransferOwnershipResult
impl Debug for CanTransferOwnershipResult
source§impl<'de> Deserialize<'de> for CanTransferOwnershipResult
impl<'de> Deserialize<'de> for CanTransferOwnershipResult
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