Enum imessage_database::message_types::variants::Variant
source · pub enum Variant<'a> {
Reaction(usize, bool, Reaction),
Sticker(usize),
Unknown(i32),
App(CustomBalloon<'a>),
Normal,
Edited,
SharePlay,
}Expand description
Message variant container
Messages can exist as one of many different variants, this encapsulates all of the possibilities.
Variants§
Reaction(usize, bool, Reaction)
A reaction to another message
Sticker(usize)
A sticker message, either placed on another message or by itself
Unknown(i32)
Container for new or unknown messages
App(CustomBalloon<'a>)
An iMessage app generated message
Normal
An iMessage with a standard text body that may include attachments
Edited
A message that has been edited or unsent
A SharePlay message
Trait Implementations§
Auto Trait Implementations§
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> 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