Struct stencila_schema::Validator [−][src]
pub struct Validator {
pub type_: Validator_,
pub id: Option<Box<String>>,
}
Expand description
A base for all validator types.
Fields
type_: Validator_
The name of this type
id: Option<Box<String>>
The identifier for this item.
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 Validator
impl UnwindSafe for Validator
Blanket Implementations
Mutably borrows from an owned value. Read more