15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
Row,
postgres::PgPoolOptions,
pool::PoolConnection,
};
#[derive(sqlx::FromRow, Debug)]
pub struct List {
pub source_id: i64,
pub channel: String,
pub enabled: bool,
pub url: String,
pub iv_hash: Option<String>,
pub url_re: Option<String>,
}
|
|
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
Row,
postgres::PgPoolOptions,
pool::PoolConnection,
};
#[derive(sqlx::FromRow, Debug)]
pub struct List {
pub source_id: i32,
pub channel: String,
pub enabled: bool,
pub url: String,
pub iv_hash: Option<String>,
pub url_re: Option<String>,
}
|