icydb-schema 0.219.0

Bounded public schema proposal contract for IcyDB
Documentation
//! Module: types::unit
//! Defines the zero-sized unit key/value wrapper used by schemas that need an
//! explicit empty identity.

use candid::CandidType;
use serde::{Deserialize, Serialize};

//
// Unit
//

#[derive(
    CandidType,
    Clone,
    Copy,
    Debug,
    Default,
    Eq,
    PartialEq,
    Hash,
    Ord,
    PartialOrd,
    Deserialize,
    Serialize,
)]
pub struct Unit;