exposed fields of struct Member as public

This commit is contained in:
shockrah 2020-08-05 23:14:35 -07:00
parent 99ccb14bf2
commit e0989a888e

View File

@ -9,12 +9,12 @@ use serde_json::Value;
use crate::db_types::{UBigInt, BigInt, Integer, VarChar}; use crate::db_types::{UBigInt, BigInt, Integer, VarChar};
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,
} }
impl Member { impl Member {