pub enum MaintenancePolicyRule {
Show 16 variants
SchemaVersion,
PolicyIdentifier,
PolicyVersion,
AuthenticationRequired,
AuthorizationRequired,
FencingTokenRequired,
RequestLifetime,
ResourceLimits,
PrincipalIdentifier,
UniquePrincipalBinding,
PrincipalRoleRequired,
ReleaseOperatorRequired,
UniqueRoleGrant,
RoleCapabilityRequired,
AdministratorCheckpointForbidden,
ReleaseCheckpointRequired,
}Expand description
Closed semantic rules for maintenance policies.
Variants§
SchemaVersion
The schema version must be supported.
PolicyIdentifier
The policy identifier must be canonical.
PolicyVersion
The policy version must be non-zero.
AuthenticationRequired
Authentication must be required.
AuthorizationRequired
Authorization must be required.
FencingTokenRequired
Fencing tokens must be required.
RequestLifetime
Request lifetime must be within the supported range.
ResourceLimits
Every resource limit must be non-zero.
PrincipalIdentifier
Every bound principal must be canonical.
UniquePrincipalBinding
A principal may be bound only once.
PrincipalRoleRequired
Every bound principal must have at least one role.
ReleaseOperatorRequired
At least one release operator must be bound.
UniqueRoleGrant
A role may have only one grant entry.
RoleCapabilityRequired
Every role grant must contain at least one capability.
AdministratorCheckpointForbidden
Administrators must not receive the release-checkpoint capability.
ReleaseCheckpointRequired
Release operators must receive the release-checkpoint capability.
Trait Implementations§
Source§impl Clone for MaintenancePolicyRule
impl Clone for MaintenancePolicyRule
impl Copy for MaintenancePolicyRule
Source§impl Debug for MaintenancePolicyRule
impl Debug for MaintenancePolicyRule
Source§impl Display for MaintenancePolicyRule
impl Display for MaintenancePolicyRule
impl Eq for MaintenancePolicyRule
Source§impl PartialEq for MaintenancePolicyRule
impl PartialEq for MaintenancePolicyRule
impl StructuralPartialEq for MaintenancePolicyRule
Auto Trait Implementations§
impl Freeze for MaintenancePolicyRule
impl RefUnwindSafe for MaintenancePolicyRule
impl Send for MaintenancePolicyRule
impl Sync for MaintenancePolicyRule
impl Unpin for MaintenancePolicyRule
impl UnsafeUnpin for MaintenancePolicyRule
impl UnwindSafe for MaintenancePolicyRule
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