cal-jambonz 0.1.47

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: &str, password: &str) -> WSAuth {
        WSAuth {
            username: username.to_string(),
            password: password.to_string(),
        }
    }
}