pub struct ProfileSimpleExpression {
pub profile_expression_: ProfileExpression,
pub expression_type: String,
pub parameter: Option<Vec<KeyAnyValue>>,
}Expand description
DataObject represents a pre-defined expression
§How to access
HostProfile::config→HostProfileConfigInfo.default_comply_profile?.expression[*]→ProfileSimpleExpressionHostProfile::config→HostProfileConfigInfo.custom_comply_profile?.expression[*]→ProfileSimpleExpressionHostProfile::config→ClusterProfileConfigInfo.comply_profile?.expression[*]→ProfileSimpleExpressionProfile::config→HostProfileConfigInfo.default_comply_profile?.expression[*]→ProfileSimpleExpressionProfile::config→HostProfileConfigInfo.custom_comply_profile?.expression[*]→ProfileSimpleExpressionProfile::config→ClusterProfileConfigInfo.comply_profile?.expression[*]→ProfileSimpleExpressionClusterProfile::config→HostProfileConfigInfo.default_comply_profile?.expression[*]→ProfileSimpleExpressionClusterProfile::config→HostProfileConfigInfo.custom_comply_profile?.expression[*]→ProfileSimpleExpressionClusterProfile::config→ClusterProfileConfigInfo.comply_profile?.expression[*]→ProfileSimpleExpressionHostProfile::update_host_profile(config)→HostProfileCompleteConfigSpec.custom_comply_profile?.expression[*]→ProfileSimpleExpression
(10 of 25 paths)
Fields§
§profile_expression_: ProfileExpression§expression_type: StringType of the simple expression to instantiate.
The expressionType should be derived from the available expressions as listed in the metadata.
parameter: Option<Vec<KeyAnyValue>>The parameters for the expressionType.
The list of parameters needed for a simple expression can be obtained from the metadata.
Trait Implementations§
Source§impl Debug for ProfileSimpleExpression
impl Debug for ProfileSimpleExpression
Source§impl Deref for ProfileSimpleExpression
impl Deref for ProfileSimpleExpression
Source§impl DerefMut for ProfileSimpleExpression
impl DerefMut for ProfileSimpleExpression
Source§impl ProfileExpressionTrait for ProfileSimpleExpression
impl ProfileExpressionTrait for ProfileSimpleExpression
Source§fn get_profile_expression(&self) -> &ProfileExpression
fn get_profile_expression(&self) -> &ProfileExpression
Get a reference to the ProfileExpression parent struct
Source§fn get_profile_expression_mut(&mut self) -> &mut ProfileExpression
fn get_profile_expression_mut(&mut self) -> &mut ProfileExpression
Get a mutable reference to the ProfileExpression parent struct
Source§impl VimObjectTrait for ProfileSimpleExpression
impl VimObjectTrait for ProfileSimpleExpression
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for ProfileSimpleExpression
Auto Trait Implementations§
impl Freeze for ProfileSimpleExpression
impl !RefUnwindSafe for ProfileSimpleExpression
impl Send for ProfileSimpleExpression
impl Sync for ProfileSimpleExpression
impl Unpin for ProfileSimpleExpression
impl UnsafeUnpin for ProfileSimpleExpression
impl !UnwindSafe for ProfileSimpleExpression
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