Enum stencila_schema::Primitive
source · [−]pub enum Primitive {
Null(Null),
Boolean(Boolean),
Integer(Integer),
Number(Number),
String(String),
Object(Object),
Array(Array),
}
Expand description
The set of primitive (non-Entity) node types
Variants
Null(Null)
Boolean(Boolean)
Integer(Integer)
Number(Number)
String(String)
Object(Object)
Array(Array)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Primitive
impl UnwindSafe for Primitive
Blanket Implementations
Mutably borrows from an owned value. Read more