Struct pshbullet_client::PushbulletClient
[−]
[src]
pub struct PushbulletClient { /* fields omitted */ }
Pushbullet API Client
Methods
impl PushbulletClient
[src]
fn create_push(&self, target: &Target, request: Request) -> Result
Send a push to a device or another person.
fn list_push(
&self,
condition: &ListCondition
) -> Result<(Vec<Response>, ResponseHeaders), Box<Error>>
&self,
condition: &ListCondition
) -> Result<(Vec<Response>, ResponseHeaders), Box<Error>>
Request push history.
impl PushbulletClient
[src]
fn list_devices(&self) -> Result
Get a list of devices belonging to the current user.
impl PushbulletClient
[src]
fn new(access_token: String) -> PushbulletClient
Initialize with an access token.