pub struct UpdateShortSentMessage {
pub out: bool,
pub id: i32,
pub pts: i32,
pub pts_count: i32,
pub date: i32,
pub media: Option<MessageMedia>,
pub entities: Option<Vec<MessageEntity>>,
pub ttl_period: Option<i32>,
}Expand description
Read updateShortSentMessage docs.
Generated from the following TL definition:
updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = UpdatesFields§
§out: bool§id: i32§pts: i32§pts_count: i32§date: i32§media: Option<MessageMedia>§entities: Option<Vec<MessageEntity>>§ttl_period: Option<i32>Trait Implementations§
Source§impl Clone for UpdateShortSentMessage
impl Clone for UpdateShortSentMessage
Source§fn clone(&self) -> UpdateShortSentMessage
fn clone(&self) -> UpdateShortSentMessage
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 UpdateShortSentMessage
impl Debug for UpdateShortSentMessage
Source§impl From<UpdateShortSentMessage> for Updates
impl From<UpdateShortSentMessage> for Updates
Source§fn from(x: UpdateShortSentMessage) -> Self
fn from(x: UpdateShortSentMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateShortSentMessage
impl Identifiable for UpdateShortSentMessage
Source§const CONSTRUCTOR_ID: u32 = 2417352961
const CONSTRUCTOR_ID: u32 = 2417352961
The unique identifier for the type.
Source§impl PartialEq for UpdateShortSentMessage
impl PartialEq for UpdateShortSentMessage
Source§impl TryFrom<Updates> for UpdateShortSentMessage
impl TryFrom<Updates> for UpdateShortSentMessage
impl StructuralPartialEq for UpdateShortSentMessage
Auto Trait Implementations§
impl Freeze for UpdateShortSentMessage
impl RefUnwindSafe for UpdateShortSentMessage
impl Send for UpdateShortSentMessage
impl Sync for UpdateShortSentMessage
impl Unpin for UpdateShortSentMessage
impl UnsafeUnpin for UpdateShortSentMessage
impl UnwindSafe for UpdateShortSentMessage
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