pub struct RepositoryRuleParamsStatusCheckConfiguration {
pub context: String,
pub integration_id: Option<i32>,
}
Expand description
RepositoryRuleParamsStatusCheckConfiguration : Required status check
Fields§
§context: String
The status check context name that must be present on the commit.
integration_id: Option<i32>
The optional integration ID that this status check must originate from.
Implementations§
Source§impl RepositoryRuleParamsStatusCheckConfiguration
impl RepositoryRuleParamsStatusCheckConfiguration
Sourcepub fn new(context: String) -> RepositoryRuleParamsStatusCheckConfiguration
pub fn new(context: String) -> RepositoryRuleParamsStatusCheckConfiguration
Required status check
Trait Implementations§
Source§impl Clone for RepositoryRuleParamsStatusCheckConfiguration
impl Clone for RepositoryRuleParamsStatusCheckConfiguration
Source§fn clone(&self) -> RepositoryRuleParamsStatusCheckConfiguration
fn clone(&self) -> RepositoryRuleParamsStatusCheckConfiguration
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 RepositoryRuleParamsStatusCheckConfiguration
impl Default for RepositoryRuleParamsStatusCheckConfiguration
Source§fn default() -> RepositoryRuleParamsStatusCheckConfiguration
fn default() -> RepositoryRuleParamsStatusCheckConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleParamsStatusCheckConfiguration
impl<'de> Deserialize<'de> for RepositoryRuleParamsStatusCheckConfiguration
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 RepositoryRuleParamsStatusCheckConfiguration
impl PartialEq for RepositoryRuleParamsStatusCheckConfiguration
Source§fn eq(&self, other: &RepositoryRuleParamsStatusCheckConfiguration) -> bool
fn eq(&self, other: &RepositoryRuleParamsStatusCheckConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryRuleParamsStatusCheckConfiguration
Auto Trait Implementations§
impl Freeze for RepositoryRuleParamsStatusCheckConfiguration
impl RefUnwindSafe for RepositoryRuleParamsStatusCheckConfiguration
impl Send for RepositoryRuleParamsStatusCheckConfiguration
impl Sync for RepositoryRuleParamsStatusCheckConfiguration
impl Unpin for RepositoryRuleParamsStatusCheckConfiguration
impl UnwindSafe for RepositoryRuleParamsStatusCheckConfiguration
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