Struct swagger_spec::Schema
[−]
[src]
pub struct Schema { pub type_: Option<DataType>, pub properties: Option<HashMap<String, Schema>>, pub default: Option<Value>, pub required: Option<Vec<String>>, pub nullable: bool, }
Fields
type_: Option<DataType>
properties: Option<HashMap<String, Schema>>
default: Option<Value>
required: Option<Vec<String>>
nullable: bool
Methods
impl Schema
[src]
Trait Implementations
impl Clone for Schema
[src]
fn clone(&self) -> Schema
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more