#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for PolicyDescription
Implementations
The name of the policy.
The name of the policy.
The name of the policy type.
The name of the policy type.
Appends an item to policy_attribute_descriptions
.
To override the contents of this collection use set_policy_attribute_descriptions
.
The policy attributes.
pub fn set_policy_attribute_descriptions(
self,
input: Option<Vec<PolicyAttributeDescription>>
) -> Self
pub fn set_policy_attribute_descriptions(
self,
input: Option<Vec<PolicyAttributeDescription>>
) -> Self
The policy attributes.
Consumes the builder and constructs a PolicyDescription
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more