Struct oapi::OApiSchemaArray[][src]

pub struct OApiSchemaArray { /* fields omitted */ }

Implementations

impl OApiSchemaArray[src]

pub fn additional_items(&self) -> &Option<OApiSchemaAdditionalItem>[src]

Additional items, if any

pub fn max_items(&self) -> &Option<u64>[src]

The max number of items in the array

pub fn min_items(&self) -> &Option<u64>[src]

The min number of items in the array

pub fn items(&self) -> &Option<OperatorSelector<OApiSchema>>[src]

A description of the array’s items

pub fn unique_items(&self) -> &bool[src]

Are items to be unique in the array ?

pub fn nullable(&self) -> &Option<OperatorSelector<bool>>[src]

Is the array nullable ?

pub fn read_only(&self) -> &Option<OperatorSelector<bool>>[src]

Mark this array as read-only data

pub fn write_only(&self) -> &Option<OperatorSelector<bool>>[src]

Mark this array as write-only data

pub fn example(&self) -> &Option<OperatorSelector<Value>>[src]

An example of this array

pub fn deprecated(&self) -> &Option<OperatorSelector<bool>>[src]

Mark this array deprecated

pub fn discriminator(
    &self
) -> &Option<OperatorSelector<OApiSchemaDiscriminator>>
[src]

A discriminator to switch between multiple types of arrays

pub fn external_docs(
    &self
) -> &Option<OperatorSelector<OApiExternalDocumentation>>
[src]

External documentation, if any

Trait Implementations

impl Clone for OApiSchemaArray[src]

impl Debug for OApiSchemaArray[src]

impl Default for OApiSchemaArray[src]

impl<'de> Deserialize<'de> for OApiSchemaArray where
    OApiSchemaArray: Default
[src]

impl OApiCheckTrait for OApiSchemaArray[src]

impl OApiExtensionExtractor for OApiSchemaArray[src]

impl PartialEq<OApiSchemaArray> for OApiSchemaArray[src]

impl Serialize for OApiSchemaArray[src]

impl Sparsable for OApiSchemaArray[src]

impl StructuralPartialEq for OApiSchemaArray[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,