[][src]Struct poasync::PushoverMessage

pub struct PushoverMessage {
    pub token: String,
    pub user: String,
    pub message: String,
    pub devices: Vec<String>,
    pub title: Option<String>,
    pub url: Option<String>,
    pub url_title: Option<String>,
    pub priority: Option<i8>,
    pub timestamp: Option<String>,
    pub html: Option<u8>,
    pub retry: Option<u8>,
    pub expire: Option<u8>,
}

Fields

token: Stringuser: Stringmessage: Stringdevices: Vec<String>title: Option<String>url: Option<String>url_title: Option<String>priority: Option<i8>timestamp: Option<String>html: Option<u8>retry: Option<u8>expire: Option<u8>

Implementations

impl PushoverMessage[src]

Trait Implementations

impl Clone for PushoverMessage[src]

impl Debug for PushoverMessage[src]

impl Default for PushoverMessage[src]

impl Serialize for PushoverMessage[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.