📝 docs
This commit is contained in:
parent
a567214f58
commit
164c71ddfe
9 changed files with 36 additions and 2 deletions
|
@ -2,13 +2,18 @@ use crate::api;
|
|||
use crate::generate_token;
|
||||
use owl::prelude::*;
|
||||
|
||||
/// Joined Machine
|
||||
#[model]
|
||||
pub struct Machine {
|
||||
/// Machine ID
|
||||
pub id: Id,
|
||||
/// Hostname
|
||||
pub hostname: String,
|
||||
/// Token
|
||||
pub token: String,
|
||||
pub identity: (String, String),
|
||||
pub next_token: Option<String>,
|
||||
/// Identity (Public Keys)
|
||||
pub identity: (String, String),
|
||||
}
|
||||
|
||||
impl Machine {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue