Mountain/IPC/AdvancedFeatures/CollaborationPermissions.rs
1#![allow(non_snake_case)]
2
3//! Per-session capability flags for the realtime collaboration
4//! surface. The four bits gate edit / view / comment / share
5//! actions on a `CollaborationSession::Struct`.
6
7use serde::{Deserialize, Serialize};
8
9#[derive(Debug, Clone, Serialize, Deserialize)]
10pub struct Struct {
11 pub can_edit:bool,
12 pub can_view:bool,
13 pub can_comment:bool,
14 pub can_share:bool,
15}