Struct aws_sdk_codecommit::model::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
sourceimpl 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.
sourceimpl ApprovalRule
impl ApprovalRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ApprovalRule
Trait Implementations
sourceimpl Clone for ApprovalRule
impl Clone for ApprovalRule
sourcefn clone(&self) -> ApprovalRule
fn clone(&self) -> ApprovalRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApprovalRule
impl Debug for ApprovalRule
sourceimpl PartialEq<ApprovalRule> for ApprovalRule
impl PartialEq<ApprovalRule> for ApprovalRule
sourcefn eq(&self, other: &ApprovalRule) -> bool
fn eq(&self, other: &ApprovalRule) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ApprovalRule) -> bool
fn ne(&self, other: &ApprovalRule) -> bool
This method tests for !=
.
impl StructuralPartialEq for ApprovalRule
Auto Trait Implementations
impl RefUnwindSafe for ApprovalRule
impl Send for ApprovalRule
impl Sync for ApprovalRule
impl Unpin for ApprovalRule
impl UnwindSafe for ApprovalRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more