Struct stencila_schema::TupleValidator [−][src]
pub struct TupleValidator {
pub type_: TupleValidator_,
pub id: Option<Box<String>>,
pub items: Option<Vec<ValidatorTypes>>,
}
Expand description
A validator specifying constraints on an array of heterogeneous items.
Fields
type_: TupleValidator_
The name of this type
id: Option<Box<String>>
The identifier for this item.
items: Option<Vec<ValidatorTypes>>
An array of validators specifying the constraints on each successive item in the 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
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TupleValidator
impl Send for TupleValidator
impl Sync for TupleValidator
impl Unpin for TupleValidator
impl UnwindSafe for TupleValidator
Blanket Implementations
Mutably borrows from an owned value. Read more