Struct aws_sdk_codecommit::operation::update_approval_rule_template_content::UpdateApprovalRuleTemplateContentInput
source · #[non_exhaustive]pub struct UpdateApprovalRuleTemplateContentInput {
pub approval_rule_template_name: Option<String>,
pub new_rule_content: Option<String>,
pub existing_rule_content_sha256: Option<String>,
}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_name: Option<String>The name of the approval rule template where you want to update the content of the rule.
new_rule_content: Option<String>The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
existing_rule_content_sha256: Option<String>The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
Implementations§
source§impl UpdateApprovalRuleTemplateContentInput
impl UpdateApprovalRuleTemplateContentInput
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 where you want to update the content of the rule.
sourcepub fn new_rule_content(&self) -> Option<&str>
pub fn new_rule_content(&self) -> Option<&str>
The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
sourcepub fn existing_rule_content_sha256(&self) -> Option<&str>
pub fn existing_rule_content_sha256(&self) -> Option<&str>
The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
source§impl UpdateApprovalRuleTemplateContentInput
impl UpdateApprovalRuleTemplateContentInput
sourcepub fn builder() -> UpdateApprovalRuleTemplateContentInputBuilder
pub fn builder() -> UpdateApprovalRuleTemplateContentInputBuilder
Creates a new builder-style object to manufacture UpdateApprovalRuleTemplateContentInput.
Trait Implementations§
source§impl Clone for UpdateApprovalRuleTemplateContentInput
impl Clone for UpdateApprovalRuleTemplateContentInput
source§fn clone(&self) -> UpdateApprovalRuleTemplateContentInput
fn clone(&self) -> UpdateApprovalRuleTemplateContentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateApprovalRuleTemplateContentInput
impl PartialEq for UpdateApprovalRuleTemplateContentInput
source§fn eq(&self, other: &UpdateApprovalRuleTemplateContentInput) -> bool
fn eq(&self, other: &UpdateApprovalRuleTemplateContentInput) -> bool
self and other values to be equal, and is used
by ==.