icydb 0.94.0

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::design::prelude::*;

///
/// Sha256
///
/// Canonical SHA-256 digest text wrapper validated by the hash validator.
///

#[newtype(
    primitive = "Text",
    item(prim = "Text"),
    ty(validator(path = "base::validator::hash::Sha256"))
)]
pub struct Sha256 {}