acter_core/models/
capabilities.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug, Eq, PartialEq)]
pub enum Capability {
    // someone can add reaction on this
    Reactable,
    // someone can add comment on this
    Commentable,
    // someone can add attachment on this
    Attachmentable,
    // users reads/views are being tracked
    ReadTracking,
    // someone can rsvp on this
    RSVPable,
    // someone can invite on this
    Inviteable,
    // another custom capability
    Custom(&'static str),
}