pub struct TuiSortSpec {
pub field: String,
pub order: String,
}Expand description
Sort specification for a single column.
Fields§
§field: StringField name to sort by (e.g., “cpu”, “memory”, “age”).
order: StringSort order: “ascending” or “descending”.
Trait Implementations§
Source§impl Clone for TuiSortSpec
impl Clone for TuiSortSpec
Source§fn clone(&self) -> TuiSortSpec
fn clone(&self) -> TuiSortSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 TuiSortSpec
impl Debug for TuiSortSpec
Source§impl<'de> Deserialize<'de> for TuiSortSpec
impl<'de> Deserialize<'de> for TuiSortSpec
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
Source§impl PartialEq for TuiSortSpec
impl PartialEq for TuiSortSpec
Source§impl Serialize for TuiSortSpec
impl Serialize for TuiSortSpec
impl Eq for TuiSortSpec
impl StructuralPartialEq for TuiSortSpec
Auto Trait Implementations§
impl Freeze for TuiSortSpec
impl RefUnwindSafe for TuiSortSpec
impl Send for TuiSortSpec
impl Sync for TuiSortSpec
impl Unpin for TuiSortSpec
impl UnwindSafe for TuiSortSpec
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