Skip to main content

OperationBuilderODataExt

Trait OperationBuilderODataExt 

Source
pub trait OperationBuilderODataExt<S, H, R> {
    // Required methods
    fn with_odata_filter<T>(self) -> Self
       where T: FilterField;
    fn with_odata_select(self) -> Self;
    fn with_odata_orderby<T>(self) -> Self
       where T: FilterField;
}

Required Methods§

Source

fn with_odata_filter<T>(self) -> Self
where T: FilterField,

Adds optional $filter query parameter to OpenAPI.

Source

fn with_odata_select(self) -> Self

Adds optional $select query parameter to OpenAPI.

Source

fn with_odata_orderby<T>(self) -> Self
where T: FilterField,

Adds optional $orderby query parameter to OpenAPI.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S, H, R, A, L> OperationBuilderODataExt<S, H, R> for OperationBuilder<H, R, S, A, L>
where H: HandlerSlot<S>, A: AuthState, L: LicenseState,