Trait salvo_oapi::ToArray

source ·
pub trait ToArray
where RefOr<Schema>: From<Self>, Self: Sized,
{ // Provided method fn to_array(self) -> Array { ... } }
Expand description

Trait for converting a type to Array.

Provided Methods§

source

fn to_array(self) -> Array

Convert a type to Array.

Object Safety§

This trait is not object safe.

Implementors§