wacht 0.1.0-beta.5

Official Rust SDK for the Wacht platform, providing type-safe API client and authentication middleware
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

/// Recent signup from analytics
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RecentSignup {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub email: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub method: Option<String>,
    pub date: DateTime<Utc>,
}