pub struct RuleMetadata {
pub group_path: String,
pub repo_path: String,
pub rule_definition: Option<Value>,
pub rule_id: i64,
pub rule_name: String,
pub rule_pattern: Option<Value>,
pub rule_state: RuleState,
pub rule_type: RuleType,
}Fields§
§group_path: String§repo_path: String§rule_definition: Option<Value>§rule_id: i64§rule_name: String§rule_pattern: Option<Value>§rule_state: RuleState§rule_type: RuleTypeImplementations§
Trait Implementations§
Source§impl Clone for RuleMetadata
impl Clone for RuleMetadata
Source§fn clone(&self) -> RuleMetadata
fn clone(&self) -> RuleMetadata
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 RuleMetadata
impl Debug for RuleMetadata
Source§impl Default for RuleMetadata
impl Default for RuleMetadata
Source§fn default() -> RuleMetadata
fn default() -> RuleMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleMetadata
impl<'de> Deserialize<'de> for RuleMetadata
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 RuleMetadata
impl PartialEq for RuleMetadata
Source§impl Serialize for RuleMetadata
impl Serialize for RuleMetadata
impl StructuralPartialEq for RuleMetadata
Auto Trait Implementations§
impl Freeze for RuleMetadata
impl RefUnwindSafe for RuleMetadata
impl Send for RuleMetadata
impl Sync for RuleMetadata
impl Unpin for RuleMetadata
impl UnwindSafe for RuleMetadata
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