[][src]Struct mipush_rs::message::Message

pub struct Message {
    pub title: String,
    pub description: String,
    pub notify_type: i32,
    pub notify_id: Option<i32>,
    pub pass_through: i32,
    pub restricted_package_name: String,
    pub payload: String,
    pub time_to_live: Option<i64>,
    pub time_to_send: Option<i64>,
    pub extra: HashMap<String, String>,
}

Fields

title: Stringdescription: Stringnotify_type: i32notify_id: Option<i32>pass_through: i32restricted_package_name: Stringpayload: Stringtime_to_live: Option<i64>time_to_send: Option<i64>extra: HashMap<String, String>

Trait Implementations

impl Debug for Message[src]

Auto Trait Implementations

impl Send for Message

impl Sync for Message

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.