#[non_exhaustive]pub struct PolicyAttribute { /* private fields */ }
Expand description
Information about a policy attribute.
Implementations
sourceimpl 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.
sourceimpl PolicyAttribute
impl PolicyAttribute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PolicyAttribute
.
Trait Implementations
sourceimpl Clone for PolicyAttribute
impl Clone for PolicyAttribute
sourcefn clone(&self) -> PolicyAttribute
fn clone(&self) -> PolicyAttribute
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 PolicyAttribute
impl Debug for PolicyAttribute
sourceimpl PartialEq<PolicyAttribute> for PolicyAttribute
impl PartialEq<PolicyAttribute> for PolicyAttribute
sourcefn eq(&self, other: &PolicyAttribute) -> bool
fn eq(&self, other: &PolicyAttribute) -> bool
impl StructuralPartialEq for PolicyAttribute
Auto Trait Implementations
impl RefUnwindSafe for PolicyAttribute
impl Send for PolicyAttribute
impl Sync for PolicyAttribute
impl Unpin for PolicyAttribute
impl UnwindSafe for PolicyAttribute
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