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