pub struct RepositoryRuleRulesetInfo {
pub ruleset_source_type: Option<RulesetSourceType>,
pub ruleset_source: Option<String>,
pub ruleset_id: Option<i32>,
}
Expand description
RepositoryRuleRulesetInfo : User-defined metadata to store domain-specific information limited to 8 keys with scalar values.
Fields§
§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 RepositoryRuleRulesetInfo
impl RepositoryRuleRulesetInfo
Sourcepub fn new() -> RepositoryRuleRulesetInfo
pub fn new() -> RepositoryRuleRulesetInfo
User-defined metadata to store domain-specific information limited to 8 keys with scalar values.
Trait Implementations§
Source§impl Clone for RepositoryRuleRulesetInfo
impl Clone for RepositoryRuleRulesetInfo
Source§fn clone(&self) -> RepositoryRuleRulesetInfo
fn clone(&self) -> RepositoryRuleRulesetInfo
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 RepositoryRuleRulesetInfo
impl Debug for RepositoryRuleRulesetInfo
Source§impl Default for RepositoryRuleRulesetInfo
impl Default for RepositoryRuleRulesetInfo
Source§fn default() -> RepositoryRuleRulesetInfo
fn default() -> RepositoryRuleRulesetInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleRulesetInfo
impl<'de> Deserialize<'de> for RepositoryRuleRulesetInfo
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 RepositoryRuleRulesetInfo
Auto Trait Implementations§
impl Freeze for RepositoryRuleRulesetInfo
impl RefUnwindSafe for RepositoryRuleRulesetInfo
impl Send for RepositoryRuleRulesetInfo
impl Sync for RepositoryRuleRulesetInfo
impl Unpin for RepositoryRuleRulesetInfo
impl UnwindSafe for RepositoryRuleRulesetInfo
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