made private members public

This commit is contained in:
shockrah 2020-09-17 21:03:30 -07:00
parent 5950f3b505
commit 51ca960dbb
2 changed files with 10 additions and 10 deletions

View File

@ -10,10 +10,10 @@ use crate::{sql_err, no_conn, Response};
#[allow(dead_code)] #[allow(dead_code)]
pub struct Channel { pub struct Channel {
id: UBigInt, pub id: UBigInt,
name: VarChar, pub name: VarChar,
description: Option<VarChar>, pub description: Option<VarChar>,
kind: Integer pub kind: Integer
} }
#[async_trait] #[async_trait]

View File

@ -11,12 +11,12 @@ use crate::common::{FromDB};
#[allow(dead_code)] // only because some fields are read by the user #[allow(dead_code)] // only because some fields are read by the user
pub struct Member { pub struct Member {
id: UBigInt, pub id: UBigInt,
secret: VarChar, pub secret: VarChar,
name: VarChar, pub name: VarChar,
joindate: BigInt, pub joindate: BigInt,
status: Integer, pub status: Integer,
permissions: UBigInt, pub permissions: UBigInt,
} }
/* /*