cal-jambonz 0.1.75

Jambonz Verbs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone)]
pub struct WSAuth {
    pub username: String,
    pub password: String,
}

impl WSAuth {
    pub fn new(username: String, password: String) -> WSAuth {
        WSAuth {
            username,
            password,
        }
    }
}