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
impl StructuralPartialEq for SimplePaginationProperties
Auto Trait Implementations§
impl Freeze for SimplePaginationProperties
impl !RefUnwindSafe for SimplePaginationProperties
impl !Send for SimplePaginationProperties
impl !Sync for SimplePaginationProperties
impl Unpin for SimplePaginationProperties
impl !UnwindSafe for SimplePaginationProperties
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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.