[−][src]Struct grammers_tl_types::types::Message
Fields
out: bool
mentioned: bool
media_unread: bool
silent: bool
post: bool
from_scheduled: bool
legacy: bool
edit_hide: bool
id: i32
from_id: Option<i32>
to_id: Peer
fwd_from: Option<MessageFwdHeader>
via_bot_id: Option<i32>
reply_to_msg_id: Option<i32>
date: i32
message: String
media: Option<MessageMedia>
reply_markup: Option<ReplyMarkup>
entities: Option<Vec<MessageEntity>>
views: Option<i32>
edit_date: Option<i32>
grouped_id: Option<i64>
restriction_reason: Option<Vec<RestrictionReason>>
Trait Implementations
impl Clone for Message
[src]
impl Debug for Message
[src]
impl Deserializable for Message
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<Message> for Message
[src]
impl Identifiable for Message
[src]
const CONSTRUCTOR_ID: u32
[src]
impl PartialEq<Message> for Message
[src]
impl Serializable for Message
[src]
impl StructuralPartialEq for Message
[src]
impl TryFrom<Message> for Message
[src]
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,