pub struct PullreqMergeOutput {
pub allowed_methods: Option<Option<Vec<PullreqMergeMethod>>>,
pub branch_deleted: Option<Option<bool>>,
pub conflict_files: Vec<String>,
pub dry_run: Option<Option<bool>>,
pub minimum_required_approvals_count: Option<Option<i64>>,
pub minimum_required_approvals_count_latest: Option<Option<i64>>,
pub requires_code_owners_approval: Option<Option<bool>>,
pub requires_code_owners_approval_latest: Option<Option<bool>>,
pub requires_comment_resolution: Option<Option<bool>>,
pub requires_no_change_requests: Option<Option<bool>>,
pub rule_checks: Vec<RuleCheckResult>,
pub sha: Option<Option<String>>,
}Fields§
§allowed_methods: Option<Option<Vec<PullreqMergeMethod>>>§branch_deleted: Option<Option<bool>>§conflict_files: Vec<String>§dry_run: Option<Option<bool>>§minimum_required_approvals_count: Option<Option<i64>>§minimum_required_approvals_count_latest: Option<Option<i64>>§requires_code_owners_approval: Option<Option<bool>>§requires_code_owners_approval_latest: Option<Option<bool>>§requires_comment_resolution: Option<Option<bool>>§requires_no_change_requests: Option<Option<bool>>§rule_checks: Vec<RuleCheckResult>§sha: Option<Option<String>>Implementations§
Source§impl PullreqMergeOutput
impl PullreqMergeOutput
pub fn new( conflict_files: Vec<String>, rule_checks: Vec<RuleCheckResult>, ) -> PullreqMergeOutput
Trait Implementations§
Source§impl Clone for PullreqMergeOutput
impl Clone for PullreqMergeOutput
Source§fn clone(&self) -> PullreqMergeOutput
fn clone(&self) -> PullreqMergeOutput
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 PullreqMergeOutput
impl Debug for PullreqMergeOutput
Source§impl Default for PullreqMergeOutput
impl Default for PullreqMergeOutput
Source§fn default() -> PullreqMergeOutput
fn default() -> PullreqMergeOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullreqMergeOutput
impl<'de> Deserialize<'de> for PullreqMergeOutput
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 PullreqMergeOutput
impl PartialEq for PullreqMergeOutput
Source§impl Serialize for PullreqMergeOutput
impl Serialize for PullreqMergeOutput
impl StructuralPartialEq for PullreqMergeOutput
Auto Trait Implementations§
impl Freeze for PullreqMergeOutput
impl RefUnwindSafe for PullreqMergeOutput
impl Send for PullreqMergeOutput
impl Sync for PullreqMergeOutput
impl Unpin for PullreqMergeOutput
impl UnwindSafe for PullreqMergeOutput
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