rocal-cli 0.2.2

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
use serde::Serialize;

#[derive(Serialize)]
pub struct UserRefreshToken {
    refresh_token: String,
}

impl UserRefreshToken {
    pub fn new(token: &str) -> Self {
        Self {
            refresh_token: token.to_string(),
        }
    }
}