pub trait Schema {
const SCHEMA: &'static NamedType;
}Expand description
A trait that represents a compile time calculated schema
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so 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.