Skip to main content

BalloonProvider

Trait BalloonProvider 

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

Parser for custom balloon payloads stored in message plist data.

Required Methods§

Source

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

Parse the type from a plist payload.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§