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
15
16
17
use serde::Deserialize;

#[derive(Deserialize, Clone)]
pub struct RegisteredSyncServer {
    app_id: String,
    endpoint: String,
}

impl RegisteredSyncServer {
    pub fn get_app_id(&self) -> &str {
        &self.app_id
    }

    pub fn get_endpoint(&self) -> &str {
        &self.endpoint
    }
}