#[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
source§fn eq(&self, other: &PolicyTemplateItem) -> bool
fn eq(&self, other: &PolicyTemplateItem) -> bool
self and other values to be equal, and is used
by ==.