summaryrefslogtreecommitdiff
path: root/src/helix/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/helix/models.rs')
-rw-r--r--src/helix/models.rs10
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,
+}