Enum imessage_database::tables::messages::models::BubbleComponent
source · pub enum BubbleComponent<'a> {
Text(Vec<TextAttributes<'a>>),
Attachment,
App,
Retracted,
}Expand description
Defines the parts of a message bubble, i.e. the content that can exist in a single message.
§Component Types
A single iMessage contains data that may be represented across multiple bubbles.
iMessage bubbles can only contain data of one variant of this enum at a time.
Variants§
Text(Vec<TextAttributes<'a>>)
A text message with associated formatting, generally representing ranges present in a NSAttributedString
Attachment
An attachment
App
Retracted
A component that was retracted, found by parsing the EditedMessage
Trait Implementations§
source§impl<'a> Debug for BubbleComponent<'a>
impl<'a> Debug for BubbleComponent<'a>
source§impl<'a> PartialEq for BubbleComponent<'a>
impl<'a> PartialEq for BubbleComponent<'a>
impl<'a> Eq for BubbleComponent<'a>
impl<'a> StructuralPartialEq for BubbleComponent<'a>
Auto Trait Implementations§
impl<'a> Freeze for BubbleComponent<'a>
impl<'a> RefUnwindSafe for BubbleComponent<'a>
impl<'a> Send for BubbleComponent<'a>
impl<'a> Sync for BubbleComponent<'a>
impl<'a> Unpin for BubbleComponent<'a>
impl<'a> UnwindSafe for BubbleComponent<'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.