pub struct RuleSuitesInner {
pub id: Option<i32>,
pub actor_id: Option<i32>,
pub actor_name: 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>,
}
Fields§
§id: Option<i32>
The unique identifier of the rule insight.
actor_id: Option<i32>
The number that identifies the user.
actor_name: 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
.
Implementations§
Source§impl RuleSuitesInner
impl RuleSuitesInner
pub fn new() -> RuleSuitesInner
Trait Implementations§
Source§impl Clone for RuleSuitesInner
impl Clone for RuleSuitesInner
Source§fn clone(&self) -> RuleSuitesInner
fn clone(&self) -> RuleSuitesInner
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 Debug for RuleSuitesInner
impl Debug for RuleSuitesInner
Source§impl Default for RuleSuitesInner
impl Default for RuleSuitesInner
Source§fn default() -> RuleSuitesInner
fn default() -> RuleSuitesInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleSuitesInner
impl<'de> Deserialize<'de> for RuleSuitesInner
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
Source§impl PartialEq for RuleSuitesInner
impl PartialEq for RuleSuitesInner
Source§impl Serialize for RuleSuitesInner
impl Serialize for RuleSuitesInner
impl StructuralPartialEq for RuleSuitesInner
Auto Trait Implementations§
impl Freeze for RuleSuitesInner
impl RefUnwindSafe for RuleSuitesInner
impl Send for RuleSuitesInner
impl Sync for RuleSuitesInner
impl Unpin for RuleSuitesInner
impl UnwindSafe for RuleSuitesInner
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