pub enum PagerVariant {
Range,
Pages,
More,
Other(String),
}Expand description
A pager’s look.
Variants§
Range
“12–24 of 312” and arrows in one capsule (the default).
Pages
Page numbers in a seven-slot window.
More
A centered “Show 50 more” row.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for PagerVariant
impl Clone for PagerVariant
Source§impl Debug for PagerVariant
impl Debug for PagerVariant
Source§impl Display for PagerVariant
impl Display for PagerVariant
impl Eq for PagerVariant
Source§impl From<&str> for PagerVariant
impl From<&str> for PagerVariant
Source§impl From<String> for PagerVariant
impl From<String> for PagerVariant
Source§impl Hash for PagerVariant
impl Hash for PagerVariant
Source§impl PartialEq for PagerVariant
impl PartialEq for PagerVariant
Source§impl Serialize for PagerVariant
impl Serialize for PagerVariant
impl StructuralPartialEq for PagerVariant
Auto Trait Implementations§
impl Freeze for PagerVariant
impl RefUnwindSafe for PagerVariant
impl Send for PagerVariant
impl Sync for PagerVariant
impl Unpin for PagerVariant
impl UnsafeUnpin for PagerVariant
impl UnwindSafe for PagerVariant
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.