imessage_database::message_types::variants

Trait BalloonProvider

Source
pub trait BalloonProvider<'a> {
    // Required method
    fn from_map(payload: &'a Value) -> Result<Self, PlistParseError>
       where Self: Sized;
}
Expand description

Defines behavior for different types of messages that have custom balloons

Required Methods§

Source

fn from_map(payload: &'a Value) -> Result<Self, PlistParseError>
where Self: Sized,

Creates the object from a HashMap of item attributes

Implementors§