mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-09 04:02:28 +00:00
13 lines
271 B
Rust
13 lines
271 B
Rust
|
//! # User membership
|
||
|
//!
|
||
|
//! @author Pierre Hubert
|
||
|
|
||
|
use crate::data::friend::Friend;
|
||
|
use crate::data::conversation::Conversation;
|
||
|
use crate::data::group_id::GroupID;
|
||
|
|
||
|
pub enum UserMembership {
|
||
|
Group(GroupID, u64),
|
||
|
Friend(Friend),
|
||
|
Conversation(Conversation)
|
||
|
}
|