#[non_exhaustive]pub struct PolicyDescription { /* private fields */ }
Expand description
Information about a policy.
Implementations
sourceimpl 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.
sourceimpl PolicyDescription
impl PolicyDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PolicyDescription
.
Trait Implementations
sourceimpl Clone for PolicyDescription
impl Clone for PolicyDescription
sourcefn clone(&self) -> PolicyDescription
fn clone(&self) -> PolicyDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PolicyDescription
impl Debug for PolicyDescription
sourceimpl PartialEq<PolicyDescription> for PolicyDescription
impl PartialEq<PolicyDescription> for PolicyDescription
sourcefn eq(&self, other: &PolicyDescription) -> bool
fn eq(&self, other: &PolicyDescription) -> bool
impl StructuralPartialEq for PolicyDescription
Auto Trait Implementations
impl RefUnwindSafe for PolicyDescription
impl Send for PolicyDescription
impl Sync for PolicyDescription
impl Unpin for PolicyDescription
impl UnwindSafe for PolicyDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more