blob: f68e60f4bc5966af2ab4c05bc61508d2cf7cf79b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
extern crate serde_json;
use crate::client::PaginationTrait;
impl PaginationTrait for Credentials {
fn cursor<'a>(&'a self) -> Option<&'a str> { None }
}
#[derive(Debug, Deserialize)]
pub struct Credentials {
pub access_token: String,
pub refresh_token: Option<String>,
pub expires_in: u32,
pub scope: Option<Vec<String>>,
pub token_type: String,
}
|