pub struct ProtectedBranchRequiredStatusCheck {
pub url: Option<String>,
pub enforcement_level: Option<String>,
pub contexts: Vec<String>,
pub checks: Vec<ProtectedBranchRequiredStatusCheckChecksInner>,
pub contexts_url: Option<String>,
pub strict: Option<bool>,
}
Expand description
ProtectedBranchRequiredStatusCheck : Protected Branch Required Status Check
Fields§
§url: Option<String>
§enforcement_level: Option<String>
§contexts: Vec<String>
§checks: Vec<ProtectedBranchRequiredStatusCheckChecksInner>
§contexts_url: Option<String>
§strict: Option<bool>
Implementations§
Source§impl ProtectedBranchRequiredStatusCheck
impl ProtectedBranchRequiredStatusCheck
Sourcepub fn new(
contexts: Vec<String>,
checks: Vec<ProtectedBranchRequiredStatusCheckChecksInner>,
) -> ProtectedBranchRequiredStatusCheck
pub fn new( contexts: Vec<String>, checks: Vec<ProtectedBranchRequiredStatusCheckChecksInner>, ) -> ProtectedBranchRequiredStatusCheck
Protected Branch Required Status Check
Trait Implementations§
Source§impl Clone for ProtectedBranchRequiredStatusCheck
impl Clone for ProtectedBranchRequiredStatusCheck
Source§fn clone(&self) -> ProtectedBranchRequiredStatusCheck
fn clone(&self) -> ProtectedBranchRequiredStatusCheck
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 ProtectedBranchRequiredStatusCheck
impl Default for ProtectedBranchRequiredStatusCheck
Source§fn default() -> ProtectedBranchRequiredStatusCheck
fn default() -> ProtectedBranchRequiredStatusCheck
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtectedBranchRequiredStatusCheck
impl<'de> Deserialize<'de> for ProtectedBranchRequiredStatusCheck
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 ProtectedBranchRequiredStatusCheck
impl PartialEq for ProtectedBranchRequiredStatusCheck
Source§fn eq(&self, other: &ProtectedBranchRequiredStatusCheck) -> bool
fn eq(&self, other: &ProtectedBranchRequiredStatusCheck) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProtectedBranchRequiredStatusCheck
Auto Trait Implementations§
impl Freeze for ProtectedBranchRequiredStatusCheck
impl RefUnwindSafe for ProtectedBranchRequiredStatusCheck
impl Send for ProtectedBranchRequiredStatusCheck
impl Sync for ProtectedBranchRequiredStatusCheck
impl Unpin for ProtectedBranchRequiredStatusCheck
impl UnwindSafe for ProtectedBranchRequiredStatusCheck
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