Enum stencila_schema::Primitive [−][src]
pub enum Primitive {
Null,
Boolean(Boolean),
Integer(Integer),
Number(Number),
String(String),
Object(Object),
Array(Array),
}
Expand description
The set of primitive (non-Entity) node types
Variants
Boolean(Boolean)
Tuple Fields of Boolean
0: Boolean
Integer(Integer)
Tuple Fields of Integer
0: Integer
Number(Number)
Tuple Fields of Number
0: Number
String(String)
Tuple Fields of String
0: String
Object(Object)
Tuple Fields of Object
0: Object
Array(Array)
Tuple Fields of Array
0: 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