pub struct CanTransferOwnershipResultSessionTooFresh {
pub retry_after: i32,
}Expand description
The session was created recently, user needs to wait
Fields§
§retry_after: i32Time left before the session can be used to transfer ownership of a chat, in seconds
Trait Implementations§
Source§impl Clone for CanTransferOwnershipResultSessionTooFresh
impl Clone for CanTransferOwnershipResultSessionTooFresh
Source§fn clone(&self) -> CanTransferOwnershipResultSessionTooFresh
fn clone(&self) -> CanTransferOwnershipResultSessionTooFresh
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 Default for CanTransferOwnershipResultSessionTooFresh
impl Default for CanTransferOwnershipResultSessionTooFresh
Source§fn default() -> CanTransferOwnershipResultSessionTooFresh
fn default() -> CanTransferOwnershipResultSessionTooFresh
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CanTransferOwnershipResultSessionTooFresh
impl<'de> Deserialize<'de> for CanTransferOwnershipResultSessionTooFresh
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 PartialEq for CanTransferOwnershipResultSessionTooFresh
impl PartialEq for CanTransferOwnershipResultSessionTooFresh
Source§fn eq(&self, other: &CanTransferOwnershipResultSessionTooFresh) -> bool
fn eq(&self, other: &CanTransferOwnershipResultSessionTooFresh) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CanTransferOwnershipResultSessionTooFresh
Auto Trait Implementations§
impl Freeze for CanTransferOwnershipResultSessionTooFresh
impl RefUnwindSafe for CanTransferOwnershipResultSessionTooFresh
impl Send for CanTransferOwnershipResultSessionTooFresh
impl Sync for CanTransferOwnershipResultSessionTooFresh
impl Unpin for CanTransferOwnershipResultSessionTooFresh
impl UnwindSafe for CanTransferOwnershipResultSessionTooFresh
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