1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-20 08:25:16 +00:00

Can get advanced information about a group

This commit is contained in:
2020-06-25 13:39:37 +02:00
parent 63c792d497
commit e82f2f7c59
5 changed files with 55 additions and 1 deletions

View File

@ -12,6 +12,11 @@ impl UserID {
UserID(id)
}
/// Create a new invalid user id
pub fn invalid() -> UserID {
UserID(0)
}
/// Get the current ID stored in this structure
pub fn id(&self) -> u64 {
self.0