pub struct MessageActionSetMessagesTtl {
pub period: i32,
pub auto_setting_from: Option<i64>,
}Expand description
Generated from:
messageActionSetMessagesTTL#3c134d7b flags:# period:int auto_setting_from:flags.0?long = MessageActionFields§
§period: i32§auto_setting_from: Option<i64>Trait Implementations§
Source§impl Clone for MessageActionSetMessagesTtl
impl Clone for MessageActionSetMessagesTtl
Source§fn clone(&self) -> MessageActionSetMessagesTtl
fn clone(&self) -> MessageActionSetMessagesTtl
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 MessageActionSetMessagesTtl
impl Debug for MessageActionSetMessagesTtl
Source§impl Deserializable for MessageActionSetMessagesTtl
impl Deserializable for MessageActionSetMessagesTtl
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<MessageActionSetMessagesTtl> for MessageAction
impl From<MessageActionSetMessagesTtl> for MessageAction
Source§fn from(x: MessageActionSetMessagesTtl) -> Self
fn from(x: MessageActionSetMessagesTtl) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionSetMessagesTtl
impl Identifiable for MessageActionSetMessagesTtl
Source§const CONSTRUCTOR_ID: u32 = 0x3c134d7b
const CONSTRUCTOR_ID: u32 = 0x3c134d7b
The constructor ID as specified in the TL schema.
Source§impl TryFrom<MessageAction> for MessageActionSetMessagesTtl
impl TryFrom<MessageAction> for MessageActionSetMessagesTtl
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionSetMessagesTtl
Auto Trait Implementations§
impl Freeze for MessageActionSetMessagesTtl
impl RefUnwindSafe for MessageActionSetMessagesTtl
impl Send for MessageActionSetMessagesTtl
impl Sync for MessageActionSetMessagesTtl
impl Unpin for MessageActionSetMessagesTtl
impl UnsafeUnpin for MessageActionSetMessagesTtl
impl UnwindSafe for MessageActionSetMessagesTtl
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