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