Struct imessage_database::message_types::edited::EditedMessage
source · pub struct EditedMessage<'a> {
pub dates: Vec<i64>,
pub texts: Vec<String>,
pub guids: Vec<Option<&'a str>>,
}Expand description
iMessage permits editing sent messages up to five times within 15 minutes of sending the first message and unsending sent messages within 2 minutes.
Edited or unsent messages are stored with a NULL text field.
Edited messages include message_summary_info that contains an array of
streamtyped data where each array item contains the edited
message. The order in the array represents the order the messages
were edited in, i.e. item 0 was the original and the last item is
the current message.
For each dictionary item in this array, The d key represents the
time the message was edited and the t key represents the message’s
attributedBody text in the streamtyped format.
There is no data in the array if the message was unsent.
Apple describes editing and unsending messages here.
Fields§
§dates: Vec<i64>The dates the messages were edited
texts: Vec<String>The content of the edited messages in streamtyped format
guids: Vec<Option<&'a str>>A GUID reference to another message
Implementations§
Trait Implementations§
source§impl<'a> BalloonProvider<'a> for EditedMessage<'a>
impl<'a> BalloonProvider<'a> for EditedMessage<'a>
source§impl<'a> Debug for EditedMessage<'a>
impl<'a> Debug for EditedMessage<'a>
source§impl<'a> PartialEq<EditedMessage<'a>> for EditedMessage<'a>
impl<'a> PartialEq<EditedMessage<'a>> for EditedMessage<'a>
source§fn eq(&self, other: &EditedMessage<'a>) -> bool
fn eq(&self, other: &EditedMessage<'a>) -> bool
self and other values to be equal, and is used
by ==.impl<'a> Eq for EditedMessage<'a>
impl<'a> StructuralEq for EditedMessage<'a>
impl<'a> StructuralPartialEq for EditedMessage<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EditedMessage<'a>
impl<'a> Send for EditedMessage<'a>
impl<'a> Sync for EditedMessage<'a>
impl<'a> Unpin for EditedMessage<'a>
impl<'a> UnwindSafe for EditedMessage<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.