pub struct EmptyTable {
pub reason: EmptyReason,
pub clear: Option<String>,
pub first_page: Option<String>,
}Expand description
Why a table rendered no rows, and the links it offers out of that state.
Fields§
§reason: EmptyReasonWhat emptied it.
clear: Option<String>The link that clears the search or the filters, None when nothing narrowed the table.
first_page: Option<String>The link back to the first page, None without a cursor.
Trait Implementations§
Source§impl Clone for EmptyTable
impl Clone for EmptyTable
Source§impl Debug for EmptyTable
impl Debug for EmptyTable
impl Eq for EmptyTable
Source§impl PartialEq for EmptyTable
impl PartialEq for EmptyTable
impl StructuralPartialEq for EmptyTable
Auto Trait Implementations§
impl Forget for EmptyTable
impl Freeze for EmptyTable
impl Move for EmptyTable
impl RefUnwindSafe for EmptyTable
impl Send for EmptyTable
impl Sync for EmptyTable
impl Unpin for EmptyTable
impl UnsafeUnpin for EmptyTable
impl UnwindSafe for EmptyTable
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.