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