pub enum RuleSource {
Show 14 variants
VastSpec,
VastXsd,
Xml,
Rfc3986,
IanaMediaTypes,
Iso4217,
AdId,
Inferred,
SimidSpec,
VmapSpec,
DaastSpec,
DaastXsd,
IndustryBestPractice,
CtvAdPortfolio,
}Expand description
The external standard or authority that a rule is derived from.
Mirrors the standards listed in the README. Use this to filter the catalog
by authority level — e.g. alert hard on RuleSource::VastSpec violations
while only logging RuleSource::Inferred advisories.
Variants§
VastSpec
IAB Tech Lab VAST spec normative prose (explicit §-references)
VastXsd
IAB Tech Lab VAST published XSD schemas (structural and enum constraints)
Xml
W3C XML 1.0 well-formedness
Rfc3986
RFC 3986 URI syntax
IanaMediaTypes
IANA Media Types registry
Iso4217
ISO 4217 currency codes
AdId
Ad-ID registry format
Inferred
vastlint heuristic — no single external spec authority
SimidSpec
IAB Tech Lab SIMID spec normative prose
VmapSpec
IAB Tech Lab VMAP 1.0.1 spec normative prose
DaastSpec
IAB Tech Lab DAAST spec normative prose
DaastXsd
IAB Tech Lab DAAST published XSD schema
IndustryBestPractice
Industry best practice derived from real-world ad serving patterns; violation has a direct revenue or measurement impact.
CtvAdPortfolio
IAB Tech Lab CTV Ad Portfolio signaling guidance (finalised 2026-07-22).
Distinct from RuleSource::VastXsd because the guidance is a published
final standard while the accompanying vast_4.4.xsd is still a
working-group draft.
Implementations§
Trait Implementations§
Source§impl Clone for RuleSource
impl Clone for RuleSource
Source§fn clone(&self) -> RuleSource
fn clone(&self) -> RuleSource
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more