pub struct MessageSelfDestructTypeTimer {
pub self_destruct_time: i32,
}
Expand description
The message will be self-destructed in the specified time after its content was opened
Fields§
§self_destruct_time: i32
The message’s self-destruct time, in seconds; must be between 0 and 60 in private chats
Trait Implementations§
Source§impl Clone for MessageSelfDestructTypeTimer
impl Clone for MessageSelfDestructTypeTimer
Source§fn clone(&self) -> MessageSelfDestructTypeTimer
fn clone(&self) -> MessageSelfDestructTypeTimer
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 Debug for MessageSelfDestructTypeTimer
impl Debug for MessageSelfDestructTypeTimer
Source§impl Default for MessageSelfDestructTypeTimer
impl Default for MessageSelfDestructTypeTimer
Source§fn default() -> MessageSelfDestructTypeTimer
fn default() -> MessageSelfDestructTypeTimer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageSelfDestructTypeTimer
impl<'de> Deserialize<'de> for MessageSelfDestructTypeTimer
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 MessageSelfDestructTypeTimer
impl PartialEq for MessageSelfDestructTypeTimer
Source§fn eq(&self, other: &MessageSelfDestructTypeTimer) -> bool
fn eq(&self, other: &MessageSelfDestructTypeTimer) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageSelfDestructTypeTimer
Auto Trait Implementations§
impl Freeze for MessageSelfDestructTypeTimer
impl RefUnwindSafe for MessageSelfDestructTypeTimer
impl Send for MessageSelfDestructTypeTimer
impl Sync for MessageSelfDestructTypeTimer
impl Unpin for MessageSelfDestructTypeTimer
impl UnwindSafe for MessageSelfDestructTypeTimer
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