pub struct GridState {
pub columns: Vec<GridColumn>,
pub rows: Vec<GridRow>,
pub total_rows: usize,
pub offset: usize,
pub limit: usize,
pub views: Vec<GridSavedView>,
pub active_view: Option<String>,
pub group_by: Option<String>,
pub query: Option<String>,
pub sort: Option<GridSort>,
}Expand description
Full browser-managed data-grid state.
Fields§
§columns: Vec<GridColumn>§rows: Vec<GridRow>§total_rows: usize§offset: usize§limit: usize§views: Vec<GridSavedView>§active_view: Option<String>§group_by: Option<String>§query: Option<String>§sort: Option<GridSort>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GridState
impl<'de> Deserialize<'de> for GridState
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 StructuralPartialEq for GridState
Auto Trait Implementations§
impl Freeze for GridState
impl RefUnwindSafe for GridState
impl Send for GridState
impl Sync for GridState
impl Unpin for GridState
impl UnsafeUnpin for GridState
impl UnwindSafe for GridState
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