pub enum OrgRulesetConditions {
RepositoryNameAndRefName(Box<RepositoryNameAndRefName>),
RepositoryIdAndRefName(Box<RepositoryIdAndRefName>),
RepositoryPropertyAndRefName(Box<RepositoryPropertyAndRefName>),
}
Expand description
OrgRulesetConditions : Conditions for an organization ruleset. The conditions object should contain both repository_name
and ref_name
properties or both repository_id
and ref_name
properties.
Conditions for an organization ruleset. The conditions object should contain both repository_name
and ref_name
properties or both repository_id
and ref_name
properties.
Variants§
RepositoryNameAndRefName(Box<RepositoryNameAndRefName>)
RepositoryIdAndRefName(Box<RepositoryIdAndRefName>)
RepositoryPropertyAndRefName(Box<RepositoryPropertyAndRefName>)
Trait Implementations§
Source§impl Clone for OrgRulesetConditions
impl Clone for OrgRulesetConditions
Source§fn clone(&self) -> OrgRulesetConditions
fn clone(&self) -> OrgRulesetConditions
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 Debug for OrgRulesetConditions
impl Debug for OrgRulesetConditions
Source§impl Default for OrgRulesetConditions
impl Default for OrgRulesetConditions
Source§impl<'de> Deserialize<'de> for OrgRulesetConditions
impl<'de> Deserialize<'de> for OrgRulesetConditions
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 OrgRulesetConditions
impl PartialEq for OrgRulesetConditions
Source§impl Serialize for OrgRulesetConditions
impl Serialize for OrgRulesetConditions
impl StructuralPartialEq for OrgRulesetConditions
Auto Trait Implementations§
impl Freeze for OrgRulesetConditions
impl RefUnwindSafe for OrgRulesetConditions
impl Send for OrgRulesetConditions
impl Sync for OrgRulesetConditions
impl Unpin for OrgRulesetConditions
impl UnwindSafe for OrgRulesetConditions
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