icydb-base 0.1.13

IcyDB — A type-safe, embedded ORM and schema system for the Internet Computer
Documentation
use crate::prelude::*;

///
/// MimeType
///

#[newtype(
    primitive = "Text",
    item(prim = "Text"),
    ty(
        sanitizer(path = "sanitizer::web::MimeType"),
        validator(path = "validator::web::MimeType"),
    )
)]
pub struct MimeType {}

///
/// Url
///

#[newtype(
    primitive = "Text",
    item(prim = "Text"),
    ty(
        sanitizer(path = "sanitizer::web::Url"),
        validator(path = "validator::web::Url"),
    )
)]
pub struct Url {}