Struct patternfly_yew::components::pagination::PaginationProperties
source · 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: usize
Callback for navigation
onlimit: Callback<usize>
Callback for change in limit (page size, per page)
id: Option<AttrValue>
Element ID
style: AttrValue
Additional styles
position: PaginationPosition
§disabled: bool
Disable 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 copy 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§fn eq(&self, other: &PaginationProperties) -> bool
fn eq(&self, other: &PaginationProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 !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> 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.