pub struct RepositoryRuleDetailedOneOf {
pub type: Type,
pub ruleset_source_type: Option<RulesetSourceType>,
pub ruleset_source: Option<String>,
pub ruleset_id: Option<i32>,
}
Fields§
§type: Type
§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 RepositoryRuleDetailedOneOf
impl RepositoryRuleDetailedOneOf
pub fn new(type: Type) -> RepositoryRuleDetailedOneOf
Trait Implementations§
Source§impl Clone for RepositoryRuleDetailedOneOf
impl Clone for RepositoryRuleDetailedOneOf
Source§fn clone(&self) -> RepositoryRuleDetailedOneOf
fn clone(&self) -> RepositoryRuleDetailedOneOf
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 RepositoryRuleDetailedOneOf
impl Debug for RepositoryRuleDetailedOneOf
Source§impl Default for RepositoryRuleDetailedOneOf
impl Default for RepositoryRuleDetailedOneOf
Source§fn default() -> RepositoryRuleDetailedOneOf
fn default() -> RepositoryRuleDetailedOneOf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleDetailedOneOf
impl<'de> Deserialize<'de> for RepositoryRuleDetailedOneOf
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
impl StructuralPartialEq for RepositoryRuleDetailedOneOf
Auto Trait Implementations§
impl Freeze for RepositoryRuleDetailedOneOf
impl RefUnwindSafe for RepositoryRuleDetailedOneOf
impl Send for RepositoryRuleDetailedOneOf
impl Sync for RepositoryRuleDetailedOneOf
impl Unpin for RepositoryRuleDetailedOneOf
impl UnwindSafe for RepositoryRuleDetailedOneOf
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