pub struct EffectivePolicyV1 {
pub schema: String,
pub security: SecurityPolicyV1,
pub context: ContextPolicyV1,
pub sharing: SharingPolicyV1,
pub agents: Option<AgentsPolicyV1>,
pub orchestrator: Option<OrchestratorPolicyV1>,
pub other: BTreeMap<String, Value>,
}Expand description
The merged policy in normal form (schema $defs/effective).
Fields§
§schema: String§security: SecurityPolicyV1§context: ContextPolicyV1§sharing: SharingPolicyV1§agents: Option<AgentsPolicyV1>§orchestrator: Option<OrchestratorPolicyV1>§other: BTreeMap<String, Value>Sections this crate does not know: covered by the signature, every member reported as unenforced. Accepting them keeps a later section from making this engine refuse the whole bundle.
Implementations§
Trait Implementations§
Source§impl Clone for EffectivePolicyV1
impl Clone for EffectivePolicyV1
Source§impl Debug for EffectivePolicyV1
impl Debug for EffectivePolicyV1
Source§impl<'de> Deserialize<'de> for EffectivePolicyV1
impl<'de> Deserialize<'de> for EffectivePolicyV1
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 EffectivePolicyV1
impl PartialEq for EffectivePolicyV1
Source§impl Serialize for EffectivePolicyV1
impl Serialize for EffectivePolicyV1
impl StructuralPartialEq for EffectivePolicyV1
Auto Trait Implementations§
impl Forget for EffectivePolicyV1
impl Freeze for EffectivePolicyV1where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Vec<String>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for EffectivePolicyV1
impl RefUnwindSafe for EffectivePolicyV1
impl Send for EffectivePolicyV1
impl Sync for EffectivePolicyV1
impl Unpin for EffectivePolicyV1
impl UnsafeUnpin for EffectivePolicyV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Vec<String>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for EffectivePolicyV1
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