#[non_exhaustive]pub struct PolicyTypeDescription {
pub policy_type_name: Option<String>,
pub description: Option<String>,
pub policy_attribute_type_descriptions: Option<Vec<PolicyAttributeTypeDescription>>,
}
Expand description
Information about a policy type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.policy_type_name: Option<String>
The name of the policy type.
description: Option<String>
A description of the policy type.
policy_attribute_type_descriptions: Option<Vec<PolicyAttributeTypeDescription>>
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
Implementations§
source§impl PolicyTypeDescription
impl PolicyTypeDescription
sourcepub fn policy_type_name(&self) -> Option<&str>
pub fn policy_type_name(&self) -> Option<&str>
The name of the policy type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the policy type.
sourcepub fn policy_attribute_type_descriptions(
&self
) -> &[PolicyAttributeTypeDescription]
pub fn policy_attribute_type_descriptions( &self ) -> &[PolicyAttributeTypeDescription]
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .policy_attribute_type_descriptions.is_none()
.
source§impl PolicyTypeDescription
impl PolicyTypeDescription
sourcepub fn builder() -> PolicyTypeDescriptionBuilder
pub fn builder() -> PolicyTypeDescriptionBuilder
Creates a new builder-style object to manufacture PolicyTypeDescription
.
Trait Implementations§
source§impl Clone for PolicyTypeDescription
impl Clone for PolicyTypeDescription
source§fn clone(&self) -> PolicyTypeDescription
fn clone(&self) -> PolicyTypeDescription
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 PolicyTypeDescription
impl Debug for PolicyTypeDescription
source§impl PartialEq for PolicyTypeDescription
impl PartialEq for PolicyTypeDescription
source§fn eq(&self, other: &PolicyTypeDescription) -> bool
fn eq(&self, other: &PolicyTypeDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PolicyTypeDescription
Auto Trait Implementations§
impl RefUnwindSafe for PolicyTypeDescription
impl Send for PolicyTypeDescription
impl Sync for PolicyTypeDescription
impl Unpin for PolicyTypeDescription
impl UnwindSafe for PolicyTypeDescription
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.