1 2 3 4 5 6 7 8 9 10 11 12
use crate::prelude::*; /// /// Sha256 /// #[newtype( primitive = "Text", item(prim = "Text"), ty(validator(path = "validator::hash::Sha256")) )] pub struct Sha256 {}