Struct aws_sdk_iot::types::PolicyVersion
source · #[non_exhaustive]pub struct PolicyVersion { /* private fields */ }
Expand description
Describes a policy version.
Implementations§
source§impl PolicyVersion
impl PolicyVersion
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The policy version ID.
sourcepub fn is_default_version(&self) -> bool
pub fn is_default_version(&self) -> bool
Specifies whether the policy version is the default.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The date and time the policy was created.
source§impl PolicyVersion
impl PolicyVersion
sourcepub fn builder() -> PolicyVersionBuilder
pub fn builder() -> PolicyVersionBuilder
Creates a new builder-style object to manufacture PolicyVersion
.
Trait Implementations§
source§impl Clone for PolicyVersion
impl Clone for PolicyVersion
source§fn clone(&self) -> PolicyVersion
fn clone(&self) -> PolicyVersion
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 PolicyVersion
impl Debug for PolicyVersion
source§impl PartialEq<PolicyVersion> for PolicyVersion
impl PartialEq<PolicyVersion> for PolicyVersion
source§fn eq(&self, other: &PolicyVersion) -> bool
fn eq(&self, other: &PolicyVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.