Struct aws_sdk_iot::types::PolicyVersionIdentifier
source · #[non_exhaustive]pub struct PolicyVersionIdentifier {
pub policy_name: Option<String>,
pub policy_version_id: Option<String>,
}
Expand description
Information about the version of the policy associated with the resource.
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_name: Option<String>
The name of the policy.
policy_version_id: Option<String>
The ID of the version of the policy associated with the resource.
Implementations§
source§impl PolicyVersionIdentifier
impl PolicyVersionIdentifier
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the policy.
sourcepub fn policy_version_id(&self) -> Option<&str>
pub fn policy_version_id(&self) -> Option<&str>
The ID of the version of the policy associated with the resource.
source§impl PolicyVersionIdentifier
impl PolicyVersionIdentifier
sourcepub fn builder() -> PolicyVersionIdentifierBuilder
pub fn builder() -> PolicyVersionIdentifierBuilder
Creates a new builder-style object to manufacture PolicyVersionIdentifier
.
Trait Implementations§
source§impl Clone for PolicyVersionIdentifier
impl Clone for PolicyVersionIdentifier
source§fn clone(&self) -> PolicyVersionIdentifier
fn clone(&self) -> PolicyVersionIdentifier
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 PolicyVersionIdentifier
impl Debug for PolicyVersionIdentifier
source§impl PartialEq for PolicyVersionIdentifier
impl PartialEq for PolicyVersionIdentifier
source§fn eq(&self, other: &PolicyVersionIdentifier) -> bool
fn eq(&self, other: &PolicyVersionIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PolicyVersionIdentifier
Auto Trait Implementations§
impl Freeze for PolicyVersionIdentifier
impl RefUnwindSafe for PolicyVersionIdentifier
impl Send for PolicyVersionIdentifier
impl Sync for PolicyVersionIdentifier
impl Unpin for PolicyVersionIdentifier
impl UnwindSafe for PolicyVersionIdentifier
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.