pub struct RepositoryRulesetConditionsRefName {
pub include: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
}
Fields§
§include: Option<Vec<String>>
Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH
to include the default branch or ~ALL
to include all branches.
exclude: Option<Vec<String>>
Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
Implementations§
Trait Implementations§
Source§impl Clone for RepositoryRulesetConditionsRefName
impl Clone for RepositoryRulesetConditionsRefName
Source§fn clone(&self) -> RepositoryRulesetConditionsRefName
fn clone(&self) -> RepositoryRulesetConditionsRefName
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 RepositoryRulesetConditionsRefName
impl Default for RepositoryRulesetConditionsRefName
Source§fn default() -> RepositoryRulesetConditionsRefName
fn default() -> RepositoryRulesetConditionsRefName
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRulesetConditionsRefName
impl<'de> Deserialize<'de> for RepositoryRulesetConditionsRefName
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 RepositoryRulesetConditionsRefName
impl PartialEq for RepositoryRulesetConditionsRefName
Source§fn eq(&self, other: &RepositoryRulesetConditionsRefName) -> bool
fn eq(&self, other: &RepositoryRulesetConditionsRefName) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryRulesetConditionsRefName
Auto Trait Implementations§
impl Freeze for RepositoryRulesetConditionsRefName
impl RefUnwindSafe for RepositoryRulesetConditionsRefName
impl Send for RepositoryRulesetConditionsRefName
impl Sync for RepositoryRulesetConditionsRefName
impl Unpin for RepositoryRulesetConditionsRefName
impl UnwindSafe for RepositoryRulesetConditionsRefName
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