made private members public
This commit is contained in:
parent
5950f3b505
commit
51ca960dbb
@ -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]
|
||||
|
@ -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,
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user