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

Methods

impl Schema
[src]

[src]

[src]

Trait Implementations

impl Clone for Schema
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Schema
[src]

[src]

Formats the value using the given formatter.