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
Note
Parameters for note type push
Fields of Note
title: &'a str | The note's title. |
body: &'a str | The note's message. |
Link
Parameters for link type push
Fields of Link
title: &'a str | The link's title. |
body: &'a str | A message associated with the link. |
url: &'a str | The url to open. |