pub struct UpdateApprovalRuleTemplateContentInput {
pub approval_rule_template_name: String,
pub existing_rule_content_sha_256: Option<String>,
pub new_rule_content: String,
}Fields§
§approval_rule_template_name: StringThe name of the approval rule template where you want to update the content of the rule.
existing_rule_content_sha_256: Option<String>The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.
new_rule_content: StringThe content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.
Trait Implementations§
Source§impl Clone for UpdateApprovalRuleTemplateContentInput
impl Clone for UpdateApprovalRuleTemplateContentInput
Source§fn clone(&self) -> UpdateApprovalRuleTemplateContentInput
fn clone(&self) -> UpdateApprovalRuleTemplateContentInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UpdateApprovalRuleTemplateContentInput
impl Default for UpdateApprovalRuleTemplateContentInput
Source§fn default() -> UpdateApprovalRuleTemplateContentInput
fn default() -> UpdateApprovalRuleTemplateContentInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateApprovalRuleTemplateContentInput
impl PartialEq for UpdateApprovalRuleTemplateContentInput
Source§fn eq(&self, other: &UpdateApprovalRuleTemplateContentInput) -> bool
fn eq(&self, other: &UpdateApprovalRuleTemplateContentInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateApprovalRuleTemplateContentInput
Auto Trait Implementations§
impl Freeze for UpdateApprovalRuleTemplateContentInput
impl RefUnwindSafe for UpdateApprovalRuleTemplateContentInput
impl Send for UpdateApprovalRuleTemplateContentInput
impl Sync for UpdateApprovalRuleTemplateContentInput
impl Unpin for UpdateApprovalRuleTemplateContentInput
impl UnwindSafe for UpdateApprovalRuleTemplateContentInput
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
Mutably borrows from an owned value. Read more