made private members public

This commit is contained in:
shockrah committed 2020-09-17 21:03:30 -07:00
1 parent 5950f3b505
commit 51ca960dbb
2 files changed
+10 -10

No files matched your search

+4 -4
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]
+6 -6
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,
}
/*