pub struct PolicyConfig {
pub rules: Vec<PolicyRule>,
}Expand description
The [policy] section of a type = "policy" manifest.
Fields§
§rules: Vec<PolicyRule>Trait Implementations§
Source§impl Clone for PolicyConfig
impl Clone for PolicyConfig
Source§impl Debug for PolicyConfig
impl Debug for PolicyConfig
Source§impl<'de> Deserialize<'de> for PolicyConfig
impl<'de> Deserialize<'de> for PolicyConfig
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
impl Eq for PolicyConfig
Source§impl PartialEq for PolicyConfig
impl PartialEq for PolicyConfig
Source§impl Serialize for PolicyConfig
impl Serialize for PolicyConfig
impl StructuralPartialEq for PolicyConfig
Auto Trait Implementations§
impl Forget for PolicyConfig
impl Freeze for PolicyConfig
impl Move for PolicyConfig
impl RefUnwindSafe for PolicyConfig
impl Send for PolicyConfigwhere
RawVecInner: Send,
impl Sync for PolicyConfigwhere
RawVecInner: Sync,
impl Unpin for PolicyConfig
impl UnsafeUnpin for PolicyConfig
impl UnwindSafe for PolicyConfigwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.