pub enum SortDirectionDto {
Ascending,
Descending,
}Expand description
The sort direction applied to the result retrieved by filters.
Variants§
Trait Implementations§
Source§impl Clone for SortDirectionDto
impl Clone for SortDirectionDto
Source§impl ComposeSchema for SortDirectionDto
impl ComposeSchema for SortDirectionDto
impl Copy for SortDirectionDto
Source§impl Debug for SortDirectionDto
impl Debug for SortDirectionDto
Source§impl Default for SortDirectionDto
impl Default for SortDirectionDto
Source§impl<'de> Deserialize<'de> for SortDirectionDto
impl<'de> Deserialize<'de> for SortDirectionDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SortDirectionDto
Source§impl From<SortDirectionDto> for SortDirectionModel
impl From<SortDirectionDto> for SortDirectionModel
Source§fn from(value: SortDirectionDto) -> Self
fn from(value: SortDirectionDto) -> Self
Converts to this type from the input type.
Source§impl From<SortDirectionModel> for SortDirectionDto
impl From<SortDirectionModel> for SortDirectionDto
Source§fn from(value: SortDirectionModel) -> Self
fn from(value: SortDirectionModel) -> Self
Converts to this type from the input type.
Source§impl Hash for SortDirectionDto
impl Hash for SortDirectionDto
Source§impl JsonSchema for SortDirectionDto
impl JsonSchema for SortDirectionDto
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SortDirectionDto
impl PartialEq for SortDirectionDto
impl Schemars for SortDirectionDto
Available on crate feature
schemars only.impl Serde for SortDirectionDto
Available on crate feature
serde only.Source§impl Serialize for SortDirectionDto
impl Serialize for SortDirectionDto
impl StructuralPartialEq for SortDirectionDto
Source§impl ToSchema for SortDirectionDto
impl ToSchema for SortDirectionDto
impl Utoipa for SortDirectionDto
Available on crate feature
utoipa only.Auto Trait Implementations§
impl Freeze for SortDirectionDto
impl RefUnwindSafe for SortDirectionDto
impl Send for SortDirectionDto
impl Sync for SortDirectionDto
impl Unpin for SortDirectionDto
impl UnsafeUnpin for SortDirectionDto
impl UnwindSafe for SortDirectionDto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.