pub struct SubsystemConfig {
    pub allow: Option<Vec<String>>,
    pub deny: Option<Vec<String>>,
    pub mode: Option<String>,
}Fields§
§allow: Option<Vec<String>>Allow takes effect when Mode is ExecutionPolicyFilter and only allows the specified subsystems to be executed.
deny: Option<Vec<String>>Allow takes effect when Mode is not ExecutionPolicyDisable and disallows the specified subsystems to be executed.
mode: Option<String>Implementations§
Source§impl SubsystemConfig
 
impl SubsystemConfig
pub fn new() -> SubsystemConfig
Trait Implementations§
Source§impl Clone for SubsystemConfig
 
impl Clone for SubsystemConfig
Source§fn clone(&self) -> SubsystemConfig
 
fn clone(&self) -> SubsystemConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for SubsystemConfig
 
impl Debug for SubsystemConfig
Source§impl<'de> Deserialize<'de> for SubsystemConfig
 
impl<'de> Deserialize<'de> for SubsystemConfig
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 FromStr for SubsystemConfig
Converts Query Parameters representation (style=form, explode=false) to a SubsystemConfig value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
 
impl FromStr for SubsystemConfig
Converts Query Parameters representation (style=form, explode=false) to a SubsystemConfig value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for SubsystemConfig
 
impl PartialEq for SubsystemConfig
Source§impl Serialize for SubsystemConfig
 
impl Serialize for SubsystemConfig
Source§impl ToString for SubsystemConfig
Converts the SubsystemConfig value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
 
impl ToString for SubsystemConfig
Converts the SubsystemConfig value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for SubsystemConfig
 
impl Validate for SubsystemConfig
Source§impl<'v_a> ValidateArgs<'v_a> for SubsystemConfig
 
impl<'v_a> ValidateArgs<'v_a> for SubsystemConfig
impl StructuralPartialEq for SubsystemConfig
Auto Trait Implementations§
impl Freeze for SubsystemConfig
impl RefUnwindSafe for SubsystemConfig
impl Send for SubsystemConfig
impl Sync for SubsystemConfig
impl Unpin for SubsystemConfig
impl UnwindSafe for SubsystemConfig
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