diff options
Diffstat (limited to 'src/helix/models.rs')
-rw-r--r-- | src/helix/models.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/helix/models.rs b/src/helix/models.rs index e4c58c3..86b7560 100644 --- a/src/helix/models.rs +++ b/src/helix/models.rs @@ -80,3 +80,13 @@ pub struct Clip { pub thumbnail_url: Url, pub view_count: i32, } + + +#[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, +} |