Struct aws_sdk_codecommit::types::ApprovalRule
source · #[non_exhaustive]pub struct ApprovalRule {
pub approval_rule_id: Option<String>,
pub approval_rule_name: Option<String>,
pub approval_rule_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>,
pub origin_approval_rule_template: Option<OriginApprovalRuleTemplate>,
}
Expand description
Returns information about an approval rule.
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_id: Option<String>
The system-generated ID of the approval rule.
approval_rule_name: Option<String>
The name of the approval rule.
approval_rule_content: Option<String>
The content of the approval rule.
rule_content_sha256: Option<String>
The SHA-256 hash signature for the content of the approval rule.
last_modified_date: Option<DateTime>
The date the approval rule was most recently changed, in timestamp format.
creation_date: Option<DateTime>
The date the approval rule 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.
origin_approval_rule_template: Option<OriginApprovalRuleTemplate>
The approval rule template used to create the rule.
Implementations§
source§impl ApprovalRule
impl ApprovalRule
sourcepub fn approval_rule_id(&self) -> Option<&str>
pub fn approval_rule_id(&self) -> Option<&str>
The system-generated ID of the approval rule.
sourcepub fn approval_rule_name(&self) -> Option<&str>
pub fn approval_rule_name(&self) -> Option<&str>
The name of the approval rule.
sourcepub fn approval_rule_content(&self) -> Option<&str>
pub fn approval_rule_content(&self) -> Option<&str>
The content of the approval rule.
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.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date the approval rule 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 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.
sourcepub fn origin_approval_rule_template(
&self
) -> Option<&OriginApprovalRuleTemplate>
pub fn origin_approval_rule_template( &self ) -> Option<&OriginApprovalRuleTemplate>
The approval rule template used to create the rule.
source§impl ApprovalRule
impl ApprovalRule
sourcepub fn builder() -> ApprovalRuleBuilder
pub fn builder() -> ApprovalRuleBuilder
Creates a new builder-style object to manufacture ApprovalRule
.
Trait Implementations§
source§impl Clone for ApprovalRule
impl Clone for ApprovalRule
source§fn clone(&self) -> ApprovalRule
fn clone(&self) -> ApprovalRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApprovalRule
impl Debug for ApprovalRule
source§impl PartialEq<ApprovalRule> for ApprovalRule
impl PartialEq<ApprovalRule> for ApprovalRule
source§fn eq(&self, other: &ApprovalRule) -> bool
fn eq(&self, other: &ApprovalRule) -> bool
self
and other
values to be equal, and is used
by ==
.