Enum pshbullet_client::push::Request [] [src]

pub enum Request<'a> {
    Note {
        title: &'a str,
        body: &'a str,
    },
    Link {
        title: &'a str,
        body: &'a str,
        url: &'a str,
    },
}

Request type of the push API

Variants

Parameters for note type push

Fields of Note

The note's title.

The note's message.

Parameters for link type push

Fields of Link

The link's title.

A message associated with the link.

The url to open.

Trait Implementations

impl<'a> Debug for Request<'a>
[src]

Formats the value using the given formatter.