pub enum MessageProperty {
Show 26 variants
Id,
SenderMsgId,
SenderId,
ChatId,
Body,
BodyType,
Attachments,
Mentions,
Actions,
Reactions,
SentAt,
ReceivedAt,
DeliveryState,
ReplyTo,
ThreadRootId,
ReplyCount,
UnreadReplyCount,
SenderExpiresAt,
BurnOnRead,
DeliveryReceipts,
DeliveredAt,
ReadAt,
EditedAt,
EditHistory,
DeletedAt,
DeletedForAll,
}Expand description
Property selector for crate::Message /get and /set.
Variants§
Id
SenderMsgId
SenderId
ChatId
Body
BodyType
Attachments
Mentions
Actions
Reactions
SentAt
ReceivedAt
DeliveryState
ReplyTo
ThreadRootId
ReplyCount
UnreadReplyCount
SenderExpiresAt
BurnOnRead
DeliveryReceipts
DeliveredAt
ReadAt
EditedAt
EditHistory
DeletedAt
DeletedForAll
Trait Implementations§
Source§impl Clone for MessageProperty
impl Clone for MessageProperty
Source§fn clone(&self) -> MessageProperty
fn clone(&self) -> MessageProperty
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 MessageProperty
impl Debug for MessageProperty
Source§impl Hash for MessageProperty
impl Hash for MessageProperty
Source§impl PartialEq for MessageProperty
impl PartialEq for MessageProperty
impl Eq for MessageProperty
impl StructuralPartialEq for MessageProperty
Auto Trait Implementations§
impl Freeze for MessageProperty
impl RefUnwindSafe for MessageProperty
impl Send for MessageProperty
impl Sync for MessageProperty
impl Unpin for MessageProperty
impl UnsafeUnpin for MessageProperty
impl UnwindSafe for MessageProperty
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