pub trait Schema {
const SCHEMA: &'static NamedType;
}Expand description
A trait that represents a compile time calculated schema
Required Associated Constants§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl Schema for String
Available on crate feature use-std and (crate features alloc or use-std) only.
impl Schema for String
Available on crate feature
use-std and (crate features alloc or use-std) only.source§impl<A: Schema, B: Schema, C: Schema, D: Schema, E: Schema, F: Schema> Schema for (A, B, C, D, E, F)
impl<A: Schema, B: Schema, C: Schema, D: Schema, E: Schema, F: Schema> Schema for (A, B, C, D, E, F)
source§impl<K: Schema> Schema for BTreeSet<K>
Available on crate feature use-std and (crate features alloc or use-std) only.
impl<K: Schema> Schema for BTreeSet<K>
Available on crate feature
use-std and (crate features alloc or use-std) only.source§impl<K: Schema> Schema for HashSet<K>
Available on crate feature use-std and (crate features alloc or use-std) only.
impl<K: Schema> Schema for HashSet<K>
Available on crate feature
use-std and (crate features alloc or use-std) only.source§impl<K: Schema, V: Schema> Schema for BTreeMap<K, V>
Available on crate feature use-std and (crate features alloc or use-std) only.
impl<K: Schema, V: Schema> Schema for BTreeMap<K, V>
Available on crate feature
use-std and (crate features alloc or use-std) only.source§impl<K: Schema, V: Schema> Schema for HashMap<K, V>
Available on crate feature use-std and (crate features alloc or use-std) only.
impl<K: Schema, V: Schema> Schema for HashMap<K, V>
Available on crate feature
use-std and (crate features alloc or use-std) only.source§impl<T, const R: usize, const C: usize> Schema for Matrix<T, Const<R>, Const<C>, ArrayStorage<T, R, C>>
Available on crate feature nalgebra-v0_33 only.
impl<T, const R: usize, const C: usize> Schema for Matrix<T, Const<R>, Const<C>, ArrayStorage<T, R, C>>
Available on crate feature
nalgebra-v0_33 only.source§impl<T: Schema> Schema for Vec<T>
Available on crate feature use-std and (crate features alloc or use-std) only.
impl<T: Schema> Schema for Vec<T>
Available on crate feature
use-std and (crate features alloc or use-std) only.source§impl<T: Schema, const N: usize> Schema for Vec<T, N>
Available on crate feature heapless-v0_7 only.
impl<T: Schema, const N: usize> Schema for Vec<T, N>
Available on crate feature
heapless-v0_7 only.source§impl<T: Schema, const N: usize> Schema for Vec<T, N>
Available on crate feature heapless-v0_8 only.
impl<T: Schema, const N: usize> Schema for Vec<T, N>
Available on crate feature
heapless-v0_8 only.