Skip to main content

RuleSet

Struct RuleSet 

Source
pub struct RuleSet {
    pub id: RuleSetId,
    pub loaderId: LoaderId,
    pub sourceText: String,
    pub backendNodeId: Option<BackendNodeId>,
    pub url: Option<String>,
    pub requestId: Option<RequestId>,
    pub errorType: Option<RuleSetErrorType>,
    pub errorMessage: Option<String>,
    pub tag: Option<String>,
}
Expand description

Corresponds to SpeculationRuleSet

Fields§

§id: RuleSetId§loaderId: LoaderId

Identifies a document which the rule set is associated with.

§sourceText: String

Source text of JSON representing the rule set. If it comes from ‘