#[non_exhaustive]pub struct PolicyTemplateItem {
pub policy_store_id: String,
pub policy_template_id: String,
pub description: Option<String>,
pub created_date: DateTime,
pub last_updated_date: DateTime,
}Expand description
Contains details about a policy template
This data type is used as a response parameter for the ListPolicyTemplates operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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 that contains the template.
policy_template_id: StringThe unique identifier of the policy template.
description: Option<String>The description attached to the policy template.
created_date: DateTimeThe date and time that the policy template was created.
last_updated_date: DateTimeThe date and time that the policy template was most recently updated.
Implementations§
source§impl PolicyTemplateItem
impl PolicyTemplateItem
sourcepub fn policy_store_id(&self) -> &str
pub fn policy_store_id(&self) -> &str
The unique identifier of the policy store that contains the template.
sourcepub fn policy_template_id(&self) -> &str
pub fn policy_template_id(&self) -> &str
The unique identifier of the policy template.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description attached to the policy template.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date and time that the policy template was created.
sourcepub fn last_updated_date(&self) -> &DateTime
pub fn last_updated_date(&self) -> &DateTime
The date and time that the policy template was most recently updated.
source§impl PolicyTemplateItem
impl PolicyTemplateItem
sourcepub fn builder() -> PolicyTemplateItemBuilder
pub fn builder() -> PolicyTemplateItemBuilder
Creates a new builder-style object to manufacture PolicyTemplateItem.
Trait Implementations§
source§impl Clone for PolicyTemplateItem
impl Clone for PolicyTemplateItem
source§fn clone(&self) -> PolicyTemplateItem
fn clone(&self) -> PolicyTemplateItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PolicyTemplateItem
impl Debug for PolicyTemplateItem
source§impl PartialEq for PolicyTemplateItem
impl PartialEq for PolicyTemplateItem
impl StructuralPartialEq for PolicyTemplateItem
Auto Trait Implementations§
impl Freeze for PolicyTemplateItem
impl RefUnwindSafe for PolicyTemplateItem
impl Send for PolicyTemplateItem
impl Sync for PolicyTemplateItem
impl Unpin for PolicyTemplateItem
impl UnwindSafe for PolicyTemplateItem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more