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 for ApprovalRule
impl PartialEq 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 ==.impl StructuralPartialEq for ApprovalRule
Auto Trait Implementations§
impl Freeze for ApprovalRule
impl RefUnwindSafe for ApprovalRule
impl Send for ApprovalRule
impl Sync for ApprovalRule
impl Unpin for ApprovalRule
impl UnwindSafe for ApprovalRule
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