pgml-dashboard 0.1.1

Web dashboard for PostgresML, an end-to-end machine learning platform for PostgreSQL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use rocket::fs::TempFile;

#[derive(FromForm)]
pub struct Notebook<'a> {
    pub name: &'a str,
}

#[derive(FromForm)]
pub struct Cell<'a> {
    pub contents: &'a str,
    pub cell_type: &'a str,
}

#[derive(FromForm)]
pub struct Upload<'a> {
    pub file: TempFile<'a>,
    pub has_header: bool,
}