rocal-cli 0.2.6

CLI tool for Rocal - Full-Stack WASM framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

#[allow(dead_code)]
#[derive(Deserialize, Clone)]
pub struct Subdomain {
    app_name: String,
    subdomain: String,
}

impl Subdomain {
    pub fn get_subdomain(&self) -> &str {
        &self.subdomain
    }
}