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)]
pub struct Channel {
id: UBigInt,
name: VarChar,
description: Option<VarChar>,
kind: Integer
pub id: UBigInt,
pub name: VarChar,
pub description: Option<VarChar>,
pub kind: Integer
}
#[async_trait]

View File

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