update rustpad
This commit is contained in:
+1
-2
@@ -20,7 +20,7 @@ use lettre::{
|
|||||||
use rand_core::{OsRng, RngCore};
|
use rand_core::{OsRng, RngCore};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use sha2::{Digest, Sha256};
|
use sha2::{Digest, Sha256};
|
||||||
use sqlx::{any::AnyRow, FromRow, Row};
|
use sqlx::{any::AnyRow, Row};
|
||||||
use tracing::{debug, info, warn};
|
use tracing::{debug, info, warn};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
@@ -109,7 +109,6 @@ pub struct ResourceItem {
|
|||||||
title: String,
|
title: String,
|
||||||
protected: i64,
|
protected: i64,
|
||||||
updated_at: String,
|
updated_at: String,
|
||||||
#[sqlx(rename = "private")]
|
|
||||||
#[serde(rename = "private")]
|
#[serde(rename = "private")]
|
||||||
private_resource: i64,
|
private_resource: i64,
|
||||||
owned: i64,
|
owned: i64,
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ pub struct Workspace {
|
|||||||
pub struct Note {
|
pub struct Note {
|
||||||
pub id: i64,
|
pub id: i64,
|
||||||
#[serde(skip_serializing)]
|
#[serde(skip_serializing)]
|
||||||
#[sqlx(rename = "workspace_id")]
|
|
||||||
pub _workspace_id: i64,
|
pub _workspace_id: i64,
|
||||||
pub slug: String,
|
pub slug: String,
|
||||||
pub title: String,
|
pub title: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user