pub struct OrchestratorPolicyV1 {
pub network: Option<bool>,
pub cross_team_review: Option<bool>,
pub max_sessions_per_vault: Option<u64>,
pub other: BTreeMap<String, Value>,
}Expand description
orchestrator of an effective policy (QN2, the Orchestrator network;
“Queen” in code). Absent when no level sets one of its members, so a
policy without them keeps its digest.
Fields§
§network: Option<bool>false: the Orchestrator network is off, the Orchestrator stays
local; x-merge: false_wins.
cross_team_review: Option<bool>false: no review across another person’s host; x-merge: false_wins.
max_sessions_per_vault: Option<u64>Sessions an Orchestrator may run at once for the vault on one host,
0..=MAX_ORCHESTRATOR_SESSIONS; x-merge: min.
other: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for OrchestratorPolicyV1
impl Clone for OrchestratorPolicyV1
Source§impl Debug for OrchestratorPolicyV1
impl Debug for OrchestratorPolicyV1
Source§impl Default for OrchestratorPolicyV1
impl Default for OrchestratorPolicyV1
Source§impl<'de> Deserialize<'de> for OrchestratorPolicyV1
impl<'de> Deserialize<'de> for OrchestratorPolicyV1
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 OrchestratorPolicyV1
impl PartialEq for OrchestratorPolicyV1
Source§impl Serialize for OrchestratorPolicyV1
impl Serialize for OrchestratorPolicyV1
impl StructuralPartialEq for OrchestratorPolicyV1
Auto Trait Implementations§
impl Forget for OrchestratorPolicyV1
impl Freeze for OrchestratorPolicyV1
impl Move for OrchestratorPolicyV1
impl RefUnwindSafe for OrchestratorPolicyV1
impl Send for OrchestratorPolicyV1
impl Sync for OrchestratorPolicyV1
impl Unpin for OrchestratorPolicyV1
impl UnsafeUnpin for OrchestratorPolicyV1where
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for OrchestratorPolicyV1
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