Struct aws_sdk_codecommit::types::ApprovalRuleTemplate
source · #[non_exhaustive]pub struct ApprovalRuleTemplate {
pub approval_rule_template_id: Option<String>,
pub approval_rule_template_name: Option<String>,
pub approval_rule_template_description: Option<String>,
pub approval_rule_template_content: Option<String>,
pub rule_content_sha256: Option<String>,
pub last_modified_date: Option<DateTime>,
pub creation_date: Option<DateTime>,
pub last_modified_user: Option<String>,
}Expand description
Returns information about an approval rule template.
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.approval_rule_template_id: Option<String>The system-generated ID of the approval rule template.
approval_rule_template_name: Option<String>The name of the approval rule template.
approval_rule_template_description: Option<String>The description of the approval rule template.
approval_rule_template_content: Option<String>The content of the approval rule template.
rule_content_sha256: Option<String>The SHA-256 hash signature for the content of the approval rule template.
last_modified_date: Option<DateTime>The date the approval rule template was most recently changed, in timestamp format.
creation_date: Option<DateTime>The date the approval rule template was created, in timestamp format.
last_modified_user: Option<String>The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
Implementations§
source§impl ApprovalRuleTemplate
impl ApprovalRuleTemplate
sourcepub fn approval_rule_template_id(&self) -> Option<&str>
pub fn approval_rule_template_id(&self) -> Option<&str>
The system-generated ID of the approval rule template.
sourcepub fn approval_rule_template_name(&self) -> Option<&str>
pub fn approval_rule_template_name(&self) -> Option<&str>
The name of the approval rule template.
sourcepub fn approval_rule_template_description(&self) -> Option<&str>
pub fn approval_rule_template_description(&self) -> Option<&str>
The description of the approval rule template.
sourcepub fn approval_rule_template_content(&self) -> Option<&str>
pub fn approval_rule_template_content(&self) -> Option<&str>
The content of the approval rule template.
sourcepub fn rule_content_sha256(&self) -> Option<&str>
pub fn rule_content_sha256(&self) -> Option<&str>
The SHA-256 hash signature for the content of the approval rule template.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date the approval rule template was most recently changed, in timestamp format.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date the approval rule template was created, in timestamp format.
sourcepub fn last_modified_user(&self) -> Option<&str>
pub fn last_modified_user(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
source§impl ApprovalRuleTemplate
impl ApprovalRuleTemplate
sourcepub fn builder() -> ApprovalRuleTemplateBuilder
pub fn builder() -> ApprovalRuleTemplateBuilder
Creates a new builder-style object to manufacture ApprovalRuleTemplate.
Trait Implementations§
source§impl Clone for ApprovalRuleTemplate
impl Clone for ApprovalRuleTemplate
source§fn clone(&self) -> ApprovalRuleTemplate
fn clone(&self) -> ApprovalRuleTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ApprovalRuleTemplate
impl Debug for ApprovalRuleTemplate
source§impl PartialEq for ApprovalRuleTemplate
impl PartialEq for ApprovalRuleTemplate
source§fn eq(&self, other: &ApprovalRuleTemplate) -> bool
fn eq(&self, other: &ApprovalRuleTemplate) -> bool
self and other values to be equal, and is used
by ==.