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};
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,
}
impl Member {