#[non_exhaustive]pub struct GetPolicyTemplateOutput {
pub policy_store_id: String,
pub policy_template_id: String,
pub description: Option<String>,
pub statement: String,
pub created_date: DateTime,
pub last_updated_date: DateTime,
/* private fields */
}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 ID of the policy store that contains the policy template.
policy_template_id: StringThe ID of the policy template.
description: Option<String>The description of the policy template.
statement: StringThe content of the body of the policy template written in the Cedar policy language.
created_date: DateTimeThe date and time that the policy template was originally created.
last_updated_date: DateTimeThe date and time that the policy template was most recently updated.
Implementations§
source§impl GetPolicyTemplateOutput
impl GetPolicyTemplateOutput
sourcepub fn policy_store_id(&self) -> &str
pub fn policy_store_id(&self) -> &str
The ID of the policy store that contains the policy template.
sourcepub fn policy_template_id(&self) -> &str
pub fn policy_template_id(&self) -> &str
The ID of the policy template.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the policy template.
sourcepub fn statement(&self) -> &str
pub fn statement(&self) -> &str
The content of the body of the policy template written in the Cedar policy language.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date and time that the policy template was originally 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 GetPolicyTemplateOutput
impl GetPolicyTemplateOutput
sourcepub fn builder() -> GetPolicyTemplateOutputBuilder
pub fn builder() -> GetPolicyTemplateOutputBuilder
Creates a new builder-style object to manufacture GetPolicyTemplateOutput.
Trait Implementations§
source§impl Clone for GetPolicyTemplateOutput
impl Clone for GetPolicyTemplateOutput
source§fn clone(&self) -> GetPolicyTemplateOutput
fn clone(&self) -> GetPolicyTemplateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPolicyTemplateOutput
impl Debug for GetPolicyTemplateOutput
source§impl PartialEq for GetPolicyTemplateOutput
impl PartialEq for GetPolicyTemplateOutput
source§fn eq(&self, other: &GetPolicyTemplateOutput) -> bool
fn eq(&self, other: &GetPolicyTemplateOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetPolicyTemplateOutput
impl RequestId for GetPolicyTemplateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetPolicyTemplateOutput
Auto Trait Implementations§
impl Freeze for GetPolicyTemplateOutput
impl RefUnwindSafe for GetPolicyTemplateOutput
impl Send for GetPolicyTemplateOutput
impl Sync for GetPolicyTemplateOutput
impl Unpin for GetPolicyTemplateOutput
impl UnwindSafe for GetPolicyTemplateOutput
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> 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