pub struct ApprovalPolicyMatchParams {
pub branch: String,
pub parent_hash: Option<String>,
pub task_id: String,
pub step: String,
pub matched_rule: Option<String>,
pub action: String,
pub reason: String,
pub risk_level: Option<String>,
pub files_changed: Option<u32>,
}Expand description
Parameters for creating an approval_policy_match event.
Fields§
§branch: String§parent_hash: Option<String>§task_id: String§step: String§matched_rule: Option<String>§action: String§reason: String§risk_level: Option<String>§files_changed: Option<u32>Trait Implementations§
Source§impl Clone for ApprovalPolicyMatchParams
impl Clone for ApprovalPolicyMatchParams
Source§fn clone(&self) -> ApprovalPolicyMatchParams
fn clone(&self) -> ApprovalPolicyMatchParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ApprovalPolicyMatchParams
impl RefUnwindSafe for ApprovalPolicyMatchParams
impl Send for ApprovalPolicyMatchParams
impl Sync for ApprovalPolicyMatchParams
impl Unpin for ApprovalPolicyMatchParams
impl UnsafeUnpin for ApprovalPolicyMatchParams
impl UnwindSafe for ApprovalPolicyMatchParams
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