#[non_exhaustive]pub struct PolicyStoreItem {
pub policy_store_id: String,
pub arn: String,
pub created_date: DateTime,
pub last_updated_date: Option<DateTime>,
pub description: Option<String>,
}Expand description
Contains information about a policy store.
This data type is used as a response parameter for the ListPolicyStores operation.
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_store_id: StringThe unique identifier of the policy store.
arn: StringThe Amazon Resource Name (ARN) of the policy store.
created_date: DateTimeThe date and time the policy was created.
last_updated_date: Option<DateTime>The date and time the policy store was most recently updated.
description: Option<String>Descriptive text that you can provide to help with identification of the current policy store.
Implementations§
source§impl PolicyStoreItem
impl PolicyStoreItem
sourcepub fn policy_store_id(&self) -> &str
pub fn policy_store_id(&self) -> &str
The unique identifier of the policy store.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date and time the policy was created.
sourcepub fn last_updated_date(&self) -> Option<&DateTime>
pub fn last_updated_date(&self) -> Option<&DateTime>
The date and time the policy store was most recently updated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Descriptive text that you can provide to help with identification of the current policy store.
source§impl PolicyStoreItem
impl PolicyStoreItem
sourcepub fn builder() -> PolicyStoreItemBuilder
pub fn builder() -> PolicyStoreItemBuilder
Creates a new builder-style object to manufacture PolicyStoreItem.
Trait Implementations§
source§impl Clone for PolicyStoreItem
impl Clone for PolicyStoreItem
source§fn clone(&self) -> PolicyStoreItem
fn clone(&self) -> PolicyStoreItem
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 PolicyStoreItem
impl Debug for PolicyStoreItem
source§impl PartialEq for PolicyStoreItem
impl PartialEq for PolicyStoreItem
source§fn eq(&self, other: &PolicyStoreItem) -> bool
fn eq(&self, other: &PolicyStoreItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PolicyStoreItem
Auto Trait Implementations§
impl RefUnwindSafe for PolicyStoreItem
impl Send for PolicyStoreItem
impl Sync for PolicyStoreItem
impl Unpin for PolicyStoreItem
impl UnwindSafe for PolicyStoreItem
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.