pub struct RepositoryRuleset {
pub id: String,
pub name: String,
pub enforcement: RuleEnforcement,
pub target: Option<RepositoryRulesetTarget>,
pub include_refs: Vec<String>,
pub exclude_refs: Vec<String>,
}Expand description
A repository ruleset with its branch conditions.
Fields§
§id: String§name: String§enforcement: RuleEnforcement§target: Option<RepositoryRulesetTarget>§include_refs: Vec<String>§exclude_refs: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepositoryRuleset
impl RefUnwindSafe for RepositoryRuleset
impl Send for RepositoryRuleset
impl Sync for RepositoryRuleset
impl Unpin for RepositoryRuleset
impl UnsafeUnpin for RepositoryRuleset
impl UnwindSafe for RepositoryRuleset
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