pub struct SharingPolicyV1 {
pub allowed_vaults: Option<Vec<String>>,
pub cross_team_sharing: Option<bool>,
pub task_claim_min_role: Option<String>,
pub consent_required_for: Option<Vec<String>>,
pub personal_workspace: Option<String>,
pub other: BTreeMap<String, Value>,
}Expand description
sharing of an effective policy (enforced by Cloud, not the engine).
Fields§
§allowed_vaults: Option<Vec<String>>§cross_team_sharing: Option<bool>§task_claim_min_role: Option<String>§consent_required_for: Option<Vec<String>>§personal_workspace: Option<String>allow | forbid (Cloud C line): forbid keeps the team’s project
knowledge out of Personal workspaces (Cloud enforces W11; this engine
refuses a personal vault for a project it worked on in the team,
core::cloud::company_bound).
other: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for SharingPolicyV1
impl Clone for SharingPolicyV1
Source§impl Debug for SharingPolicyV1
impl Debug for SharingPolicyV1
Source§impl Default for SharingPolicyV1
impl Default for SharingPolicyV1
Source§impl<'de> Deserialize<'de> for SharingPolicyV1
impl<'de> Deserialize<'de> for SharingPolicyV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SharingPolicyV1
impl PartialEq for SharingPolicyV1
Source§impl Serialize for SharingPolicyV1
impl Serialize for SharingPolicyV1
impl StructuralPartialEq for SharingPolicyV1
Auto Trait Implementations§
impl Forget for SharingPolicyV1
impl Freeze for SharingPolicyV1where
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for SharingPolicyV1
impl RefUnwindSafe for SharingPolicyV1
impl Send for SharingPolicyV1
impl Sync for SharingPolicyV1
impl Unpin for SharingPolicyV1
impl UnsafeUnpin for SharingPolicyV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for SharingPolicyV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more