Skip to main content

Classification

Trait Classification 

Source
pub trait Classification { }
Expand description

Marker trait for classification categories.

Implement this for zero-sized marker types (unit structs):

use redaction::Classification;

#[derive(Clone, Copy)]
struct MyClassification;

impl Classification for MyClassification {}

Implementors§