oasgen_core

Trait OaParameter

Source
pub trait OaParameter {
    // Provided methods
    fn body_schema() -> Option<RefOr<Schema>> { ... }
    fn parameter_schemas() -> Vec<RefOr<Schema>> { ... }
    fn parameters() -> Vec<RefOr<Parameter>> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<A1: OaSchema> OaParameter for (A1,)

Source§

impl<A1: OaSchema, A2: OaSchema> OaParameter for (A1, A2)

Source§

impl<A1: OaSchema, A2: OaSchema, A3: OaSchema> OaParameter for (A1, A2, A3)

Source§

impl<T, E> OaParameter for Result<T, E>
where T: OaParameter,

Implementors§