pub struct RuleSuite {
pub id: Option<i32>,
pub actor_id: Option<Option<i32>>,
pub actor_name: Option<Option<String>>,
pub before_sha: Option<String>,
pub after_sha: Option<String>,
pub ref: Option<String>,
pub repository_id: Option<i32>,
pub repository_name: Option<String>,
pub pushed_at: Option<String>,
pub result: Option<Result>,
pub evaluation_result: Option<EvaluationResult>,
pub rule_evaluations: Option<Vec<RuleSuiteRuleEvaluationsInner>>,
}
Expand description
RuleSuite : Response
Fields§
§id: Option<i32>
The unique identifier of the rule insight.
actor_id: Option<Option<i32>>
The number that identifies the user.
actor_name: Option<Option<String>>
The handle for the GitHub user account.
before_sha: Option<String>
The first commit sha before the push evaluation.
after_sha: Option<String>
The last commit sha in the push evaluation.
ref: Option<String>
The ref name that the evaluation ran on.
repository_id: Option<i32>
The ID of the repository associated with the rule evaluation.
repository_name: Option<String>
The name of the repository without the .git
extension.
pushed_at: Option<String>
§result: Option<Result>
The result of the rule evaluations for rules with the active
enforcement status.
evaluation_result: Option<EvaluationResult>
The result of the rule evaluations for rules with the active
and evaluate
enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were active
.
rule_evaluations: Option<Vec<RuleSuiteRuleEvaluationsInner>>
Details on the evaluated rules.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleSuite
impl<'de> Deserialize<'de> for RuleSuite
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for RuleSuite
Auto Trait Implementations§
impl Freeze for RuleSuite
impl RefUnwindSafe for RuleSuite
impl Send for RuleSuite
impl Sync for RuleSuite
impl Unpin for RuleSuite
impl UnwindSafe for RuleSuite
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