pub enum Variant<'a> {
Normal,
Edited,
Tapback(usize, TapbackAction, Tapback<'a>),
App(CustomBalloon<'a>),
SharePlay,
Vote,
PollUpdate,
Unknown(i32),
}Expand description
High-level classification for a message row.
Variants§
Normal
Standard message body, possibly with attachments.
Edited
Message with edited or unsent parts.
Tapback(usize, TapbackAction, Tapback<'a>)
A tapback
The usize is the body component index the tapback applies to.
App(CustomBalloon<'a>)
Message generated by an iMessage app integration.
SharePlay message.
Vote
Vote cast on a poll.
PollUpdate
New option sent to a poll.
Unknown(i32)
Unmapped item_type.
Trait Implementations§
impl<'a> Eq for Variant<'a>
Source§impl<'a> PartialEq for Variant<'a>
impl<'a> PartialEq for Variant<'a>
impl<'a> StructuralPartialEq for Variant<'a>
Auto Trait Implementations§
impl<'a> Freeze for Variant<'a>
impl<'a> RefUnwindSafe for Variant<'a>
impl<'a> Send for Variant<'a>
impl<'a> Sync for Variant<'a>
impl<'a> Unpin for Variant<'a>
impl<'a> UnsafeUnpin for Variant<'a>
impl<'a> UnwindSafe for Variant<'a>
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.