pub struct PermissionProfile {
pub enabled: bool,
pub policy: Option<Vec<ProfilePolicy>>,
pub profile_type_name: Option<String>,
pub profile_version: Option<String>,
pub property: Option<Vec<ProfileApplyProfileProperty>>,
pub favorite: Option<bool>,
pub to_be_merged: Option<bool>,
pub to_replace_with: Option<bool>,
pub to_be_deleted: Option<bool>,
pub copy_enable_status: Option<bool>,
pub hidden: Option<bool>,
pub key: String,
}
Expand description
The PermissionProfile data object represents the profile for a permission rule.
Use the ApplyProfile.policy list for access to configuration data for the permission profile. Use the ApplyProfile.property list for access to subprofiles, if any.
Fields§
§enabled: bool
Indicates whether the profile is enabled.
policy: Option<Vec<ProfilePolicy>>
The list of policies comprising the profile.
A ProfilePolicy stores one or more configuration data values in a PolicyOption. The policy option is one of the configuration options from the ProfilePolicyMetadata.ProfilePolicyMetadata.possibleOption list.
profile_type_name: Option<String>
Identifies the profile type.
profile_version: Option<String>
Profile engine version.
property: Option<Vec<ProfileApplyProfileProperty>>
List of subprofiles for this profile.
This list can change depending on which profile plug-ins are available in the system. Subprofiles can be nested to arbitrary depths to represent host capabilities.
favorite: Option<bool>
Indicates whether this profile is marked as “favorite”.
to_be_merged: Option<bool>
Indicates whether this profile is marked as to-be-merged.
to_replace_with: Option<bool>
Indicates whether the selected array elements, with the current as one of them, replace the profile array in the target host profile.
to_be_deleted: Option<bool>
Indicates whether this profile is marked as to-be-deleted.
copy_enable_status: Option<bool>
Indicates that the member variable enabled
of this profile
will be copied from source profile to target profiles at host profile
composition.
Indicates whether this profile will be displayed or not.
key: String
Trait Implementations§
Source§impl ApplyProfileTrait for PermissionProfile
impl ApplyProfileTrait for PermissionProfile
Source§fn get_enabled(&self) -> bool
fn get_enabled(&self) -> bool
Source§fn get_policy(&self) -> &Option<Vec<ProfilePolicy>>
fn get_policy(&self) -> &Option<Vec<ProfilePolicy>>
Source§fn get_profile_type_name(&self) -> &Option<String>
fn get_profile_type_name(&self) -> &Option<String>
Source§fn get_profile_version(&self) -> &Option<String>
fn get_profile_version(&self) -> &Option<String>
Source§fn get_property(&self) -> &Option<Vec<ProfileApplyProfileProperty>>
fn get_property(&self) -> &Option<Vec<ProfileApplyProfileProperty>>
Source§fn get_favorite(&self) -> Option<bool>
fn get_favorite(&self) -> Option<bool>
Source§fn get_to_be_merged(&self) -> Option<bool>
fn get_to_be_merged(&self) -> Option<bool>
Source§fn get_to_replace_with(&self) -> Option<bool>
fn get_to_replace_with(&self) -> Option<bool>
Source§fn get_to_be_deleted(&self) -> Option<bool>
fn get_to_be_deleted(&self) -> Option<bool>
Source§fn get_copy_enable_status(&self) -> Option<bool>
fn get_copy_enable_status(&self) -> Option<bool>
enabled
of this profile
will be copied from source profile to target profiles at host profile
composition.