pub struct RepositoryRuleDetailedOneOf7 {
pub type: Type,
pub parameters: Option<Box<RepositoryRuleRequiredStatusChecksParameters>>,
pub ruleset_source_type: Option<RulesetSourceType>,
pub ruleset_source: Option<String>,
pub ruleset_id: Option<i32>,
}Fields§
§type: Type§parameters: Option<Box<RepositoryRuleRequiredStatusChecksParameters>>§ruleset_source_type: Option<RulesetSourceType>The type of source for the ruleset that includes this rule.
ruleset_source: Option<String>The name of the source of the ruleset that includes this rule.
ruleset_id: Option<i32>The ID of the ruleset that includes this rule.
Implementations§
Source§impl RepositoryRuleDetailedOneOf7
impl RepositoryRuleDetailedOneOf7
pub fn new(type: Type) -> RepositoryRuleDetailedOneOf7
Trait Implementations§
Source§impl Clone for RepositoryRuleDetailedOneOf7
impl Clone for RepositoryRuleDetailedOneOf7
Source§fn clone(&self) -> RepositoryRuleDetailedOneOf7
fn clone(&self) -> RepositoryRuleDetailedOneOf7
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 RepositoryRuleDetailedOneOf7
impl Debug for RepositoryRuleDetailedOneOf7
Source§impl Default for RepositoryRuleDetailedOneOf7
impl Default for RepositoryRuleDetailedOneOf7
Source§fn default() -> RepositoryRuleDetailedOneOf7
fn default() -> RepositoryRuleDetailedOneOf7
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleDetailedOneOf7
impl<'de> Deserialize<'de> for RepositoryRuleDetailedOneOf7
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 RepositoryRuleDetailedOneOf7
impl PartialEq for RepositoryRuleDetailedOneOf7
Source§fn eq(&self, other: &RepositoryRuleDetailedOneOf7) -> bool
fn eq(&self, other: &RepositoryRuleDetailedOneOf7) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepositoryRuleDetailedOneOf7
Auto Trait Implementations§
impl Freeze for RepositoryRuleDetailedOneOf7
impl RefUnwindSafe for RepositoryRuleDetailedOneOf7
impl Send for RepositoryRuleDetailedOneOf7
impl Sync for RepositoryRuleDetailedOneOf7
impl Unpin for RepositoryRuleDetailedOneOf7
impl UnwindSafe for RepositoryRuleDetailedOneOf7
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