Fixed website not being nullable, added static version of urls
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "mammut"
|
name = "mammut"
|
||||||
version = "0.5.1"
|
version = "0.5.2"
|
||||||
description = "A wrapper around the Mastodon API."
|
description = "A wrapper around the Mastodon API."
|
||||||
authors = ["Aaron Power <theaaronepower@gmail.com>"]
|
authors = ["Aaron Power <theaaronepower@gmail.com>"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ pub struct Account {
|
|||||||
pub note: String,
|
pub note: String,
|
||||||
pub url: String,
|
pub url: String,
|
||||||
pub avatar: String,
|
pub avatar: String,
|
||||||
|
pub avatar_static: String,
|
||||||
pub header: String,
|
pub header: String,
|
||||||
|
pub header_static: String,
|
||||||
pub locked: bool,
|
pub locked: bool,
|
||||||
pub created_at: DateTime<UTC>,
|
pub created_at: DateTime<UTC>,
|
||||||
pub followers_count: u64,
|
pub followers_count: u64,
|
||||||
|
|||||||
@@ -43,5 +43,5 @@ pub struct Tag {
|
|||||||
#[derive(Debug, Clone, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
pub struct Application {
|
pub struct Application {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub website: String,
|
pub website: Option<String>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user