pub struct PaginationProperties {
pub total_entries: Option<usize>,
pub offset: usize,
pub entries_per_page_choices: Vec<usize>,
pub selected_choice: usize,
pub onnavigation: Callback<Navigation>,
pub onlimit: Callback<usize>,
pub id: Option<AttrValue>,
pub style: AttrValue,
pub position: PaginationPosition,
pub disabled: bool,
}Expand description
Properties for Pagination
Fields§
§total_entries: Option<usize>§offset: usize§entries_per_page_choices: Vec<usize>§selected_choice: usizeCallback for navigation
onlimit: Callback<usize>Callback for change in limit (page size, per page)
id: Option<AttrValue>Element ID
style: AttrValueAdditional styles
position: PaginationPosition§disabled: boolDisable the full control
Trait Implementations§
Source§impl Clone for PaginationProperties
impl Clone for PaginationProperties
Source§fn clone(&self) -> PaginationProperties
fn clone(&self) -> PaginationProperties
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 PartialEq for PaginationProperties
impl PartialEq for PaginationProperties
Source§impl Properties for PaginationProperties
impl Properties for PaginationProperties
impl StructuralPartialEq for PaginationProperties
Auto Trait Implementations§
impl Freeze for PaginationProperties
impl !RefUnwindSafe for PaginationProperties
impl !Send for PaginationProperties
impl !Sync for PaginationProperties
impl Unpin for PaginationProperties
impl UnsafeUnpin for PaginationProperties
impl !UnwindSafe for PaginationProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.