pub struct PageableObject {
pub offset: Option<i64>,
pub page_number: Option<i32>,
pub page_size: Option<i32>,
pub paged: Option<bool>,
pub sort: Option<Box<SortObject>>,
pub unpaged: Option<bool>,
}Fields§
§offset: Option<i64>§page_number: Option<i32>§page_size: Option<i32>§paged: Option<bool>§sort: Option<Box<SortObject>>§unpaged: Option<bool>Implementations§
Source§impl PageableObject
impl PageableObject
pub fn new() -> PageableObject
Trait Implementations§
Source§impl Clone for PageableObject
impl Clone for PageableObject
Source§fn clone(&self) -> PageableObject
fn clone(&self) -> PageableObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageableObject
impl Debug for PageableObject
Source§impl Default for PageableObject
impl Default for PageableObject
Source§fn default() -> PageableObject
fn default() -> PageableObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageableObject
impl<'de> Deserialize<'de> for PageableObject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PageableObject
impl PartialEq for PageableObject
Source§impl Serialize for PageableObject
impl Serialize for PageableObject
impl StructuralPartialEq for PageableObject
Auto Trait Implementations§
impl Freeze for PageableObject
impl RefUnwindSafe for PageableObject
impl Send for PageableObject
impl Sync for PageableObject
impl Unpin for PageableObject
impl UnsafeUnpin for PageableObject
impl UnwindSafe for PageableObject
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