tribles/value/
schemas.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! This is a collection of Rust types that can be (de)serialized as [crate::prelude::Value]s.

pub mod ed25519;
pub mod f256;
pub mod fr256;
pub mod genid;
pub mod hash;
pub mod iu256;
pub mod shortstring;
pub mod time;

use crate::id::RawId;
use crate::value::ValueSchema;

use hex_literal::hex;

pub struct UnknownValue {}
impl ValueSchema for UnknownValue {
    const ID: RawId = hex!("4EC697E8599AC79D667C722E2C8BEBF4");
}