pub struct Evaluation {
pub approval_rules_not_satisfied: Option<Vec<String>>,
pub approval_rules_satisfied: Option<Vec<String>>,
pub approved: Option<bool>,
pub overridden: Option<bool>,
}Expand description
Returns information about the approval rules applied to a pull request and whether conditions have been met.
Fields§
§approval_rules_not_satisfied: Option<Vec<String>>The names of the approval rules that have not had their conditions met.
approval_rules_satisfied: Option<Vec<String>>The names of the approval rules that have had their conditions met.
approved: Option<bool>Whether the state of the pull request is approved.
overridden: Option<bool>Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
Trait Implementations§
Source§impl Clone for Evaluation
impl Clone for Evaluation
Source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
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 Evaluation
impl Debug for Evaluation
Source§impl Default for Evaluation
impl Default for Evaluation
Source§fn default() -> Evaluation
fn default() -> Evaluation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Evaluation
impl<'de> Deserialize<'de> for Evaluation
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 Evaluation
impl PartialEq for Evaluation
impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnwindSafe for Evaluation
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