pub struct SimplePaginationProperties {
pub pagination: UsePagination,
pub entries_per_page_choices: Vec<usize>,
pub total: Option<usize>,
pub position: PaginationPosition,
pub id: Option<AttrValue>,
pub style: AttrValue,
pub disabled: bool,
}Expand description
Properties for SimplePagination.
Fields§
§pagination: UsePaginationThe pagination state, created by crate::hooks::pagination::use_pagination.
entries_per_page_choices: Vec<usize>Choices for number of items per page.
total: Option<usize>Total number of items, if known.
position: PaginationPositionPosition of the pagination control
id: Option<AttrValue>Element ID.
style: AttrValueAdditional styles
disabled: boolDisable the control
Trait Implementations§
source§impl Debug for SimplePaginationProperties
impl Debug for SimplePaginationProperties
source§impl PartialEq for SimplePaginationProperties
impl PartialEq for SimplePaginationProperties
source§fn eq(&self, other: &SimplePaginationProperties) -> bool
fn eq(&self, other: &SimplePaginationProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SimplePaginationProperties
Auto Trait Implementations§
impl !RefUnwindSafe for SimplePaginationProperties
impl !Send for SimplePaginationProperties
impl !Sync for SimplePaginationProperties
impl Unpin for SimplePaginationProperties
impl !UnwindSafe for SimplePaginationProperties
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.