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)]
|
#[allow(dead_code)]
|
||||||
pub struct Channel {
|
pub struct Channel {
|
||||||
id: UBigInt,
|
pub id: UBigInt,
|
||||||
name: VarChar,
|
pub name: VarChar,
|
||||||
description: Option<VarChar>,
|
pub description: Option<VarChar>,
|
||||||
kind: Integer
|
pub kind: Integer
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
|
@ -11,12 +11,12 @@ use crate::common::{FromDB};
|
|||||||
|
|
||||||
#[allow(dead_code)] // only because some fields are read by the user
|
#[allow(dead_code)] // only because some fields are read by the user
|
||||||
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,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user