#[non_exhaustive]pub struct PolicyDescription { /* private fields */ }
Expand description
Information about a policy.
Implementations§
source§impl PolicyDescription
impl PolicyDescription
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the policy.
sourcepub fn policy_type_name(&self) -> Option<&str>
pub fn policy_type_name(&self) -> Option<&str>
The name of the policy type.
sourcepub fn policy_attribute_descriptions(
&self
) -> Option<&[PolicyAttributeDescription]>
pub fn policy_attribute_descriptions(
&self
) -> Option<&[PolicyAttributeDescription]>
The policy attributes.
source§impl PolicyDescription
impl PolicyDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PolicyDescription
.
Trait Implementations§
source§impl Clone for PolicyDescription
impl Clone for PolicyDescription
source§fn clone(&self) -> PolicyDescription
fn clone(&self) -> PolicyDescription
Returns a copy 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 PolicyDescription
impl Debug for PolicyDescription
source§impl PartialEq<PolicyDescription> for PolicyDescription
impl PartialEq<PolicyDescription> for PolicyDescription
source§fn eq(&self, other: &PolicyDescription) -> bool
fn eq(&self, other: &PolicyDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.