pub struct RulesetId(pub &'static str);Expand description
Opaque machine-readable identifier for a regulatory ruleset.
Examples: "repairability-heuristic-v1", "battery-cfb". Always a
compile-time literal in every concrete Ruleset impl in this crate — never
constructed from external/deserialized input — hence &'static str rather
than String: every ruleset’s id()/version() becomes a plain static
instead of OnceLock-wrapped lazy-init ceremony.
Tuple Fields§
§0: &'static strTrait Implementations§
impl Copy for RulesetId
impl Eq for RulesetId
impl StructuralPartialEq for RulesetId
Auto Trait Implementations§
impl Freeze for RulesetId
impl RefUnwindSafe for RulesetId
impl Send for RulesetId
impl Sync for RulesetId
impl Unpin for RulesetId
impl UnsafeUnpin for RulesetId
impl UnwindSafe for RulesetId
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