pub struct RepositoryRuleRequiredStatusChecks {
pub type: Type,
pub parameters: Option<Box<RepositoryRuleRequiredStatusChecksParameters>>,
}
Expand description
RepositoryRuleRequiredStatusChecks : Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.
Fields§
§type: Type
§parameters: Option<Box<RepositoryRuleRequiredStatusChecksParameters>>
Implementations§
Source§impl RepositoryRuleRequiredStatusChecks
impl RepositoryRuleRequiredStatusChecks
Sourcepub fn new(type: Type) -> RepositoryRuleRequiredStatusChecks
pub fn new(type: Type) -> RepositoryRuleRequiredStatusChecks
Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.
Trait Implementations§
Source§impl Clone for RepositoryRuleRequiredStatusChecks
impl Clone for RepositoryRuleRequiredStatusChecks
Source§fn clone(&self) -> RepositoryRuleRequiredStatusChecks
fn clone(&self) -> RepositoryRuleRequiredStatusChecks
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 Default for RepositoryRuleRequiredStatusChecks
impl Default for RepositoryRuleRequiredStatusChecks
Source§fn default() -> RepositoryRuleRequiredStatusChecks
fn default() -> RepositoryRuleRequiredStatusChecks
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleRequiredStatusChecks
impl<'de> Deserialize<'de> for RepositoryRuleRequiredStatusChecks
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 RepositoryRuleRequiredStatusChecks
impl PartialEq for RepositoryRuleRequiredStatusChecks
Source§fn eq(&self, other: &RepositoryRuleRequiredStatusChecks) -> bool
fn eq(&self, other: &RepositoryRuleRequiredStatusChecks) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryRuleRequiredStatusChecks
Auto Trait Implementations§
impl Freeze for RepositoryRuleRequiredStatusChecks
impl RefUnwindSafe for RepositoryRuleRequiredStatusChecks
impl Send for RepositoryRuleRequiredStatusChecks
impl Sync for RepositoryRuleRequiredStatusChecks
impl Unpin for RepositoryRuleRequiredStatusChecks
impl UnwindSafe for RepositoryRuleRequiredStatusChecks
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