pub struct SortCondition {
pub field: String,
pub direction: SortDirection,
}Expand description
排序条件
Fields§
§field: String排序字段
direction: SortDirection排序方向
Trait Implementations§
Source§impl Clone for SortCondition
impl Clone for SortCondition
Source§fn clone(&self) -> SortCondition
fn clone(&self) -> SortCondition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SortCondition
impl Debug for SortCondition
Source§impl<'de> Deserialize<'de> for SortCondition
impl<'de> Deserialize<'de> for SortCondition
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
Auto Trait Implementations§
impl Freeze for SortCondition
impl RefUnwindSafe for SortCondition
impl Send for SortCondition
impl Sync for SortCondition
impl Unpin for SortCondition
impl UnsafeUnpin for SortCondition
impl UnwindSafe for SortCondition
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