rocal-cli 0.2.1

CLI tool for local-first-development driven web application framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Serialize;

#[derive(Serialize)]
#[serde(rename_all = "camelCase")]
pub struct SendEmailVerification {
    id_token: String,
}

impl SendEmailVerification {
    pub fn new(id_token: &str) -> Self {
        Self {
            id_token: id_token.to_string(),
        }
    }
}