postcard_schema/impls/
uuid_v1_0.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
//! Implementations of the [`Schema`] trait for the `uuid` crate v1.0

use crate::{
    schema::{DataModelType, NamedType},
    Schema,
};

impl Schema for uuid_v1_0::Uuid {
    const SCHEMA: &'static NamedType = &NamedType {
        name: "Uuid",
        ty: &DataModelType::ByteArray,
    };
}