commafeed_api 0.4.0

API client for commafeed server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct ServerInfo {
    pub announcement: Option<String>,
    pub version: String,
    #[serde(rename = "gitCommit")]
    pub git_commit: String,
    #[serde(rename = "allowRegistrations")]
    pub allow_registrations: bool,
    #[serde(rename = "googleAnalyticsCode")]
    pub google_analytics_code: Option<String>,
    #[serde(rename = "smtpEnabled")]
    pub smtp_enabled: bool,
    #[serde(rename = "demoAccountEnabled")]
    pub demo_account_enabled: bool,
}