pub struct PageBeanContext {
pub param_self: Option<String>,
pub next_page: Option<String>,
pub max_results: Option<i32>,
pub start_at: Option<i64>,
pub total: Option<i64>,
pub is_last: Option<bool>,
pub values: Option<Vec<Context>>,
}
Expand description
PageBeanContext : A page of items.
Fields§
§param_self: Option<String>
The URL of the page.
next_page: Option<String>
If there is another page of results, the URL of the next page.
max_results: Option<i32>
The maximum number of items that could be returned.
start_at: Option<i64>
The index of the first item returned.
total: Option<i64>
The number of items returned.
is_last: Option<bool>
Whether this is the last page.
values: Option<Vec<Context>>
The list of items.
Implementations§
Source§impl PageBeanContext
impl PageBeanContext
Sourcepub fn new() -> PageBeanContext
pub fn new() -> PageBeanContext
A page of items.
Trait Implementations§
Source§impl Clone for PageBeanContext
impl Clone for PageBeanContext
Source§fn clone(&self) -> PageBeanContext
fn clone(&self) -> PageBeanContext
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 Debug for PageBeanContext
impl Debug for PageBeanContext
Source§impl Default for PageBeanContext
impl Default for PageBeanContext
Source§fn default() -> PageBeanContext
fn default() -> PageBeanContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageBeanContext
impl<'de> Deserialize<'de> for PageBeanContext
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 PageBeanContext
impl PartialEq for PageBeanContext
Source§impl Serialize for PageBeanContext
impl Serialize for PageBeanContext
impl StructuralPartialEq for PageBeanContext
Auto Trait Implementations§
impl Freeze for PageBeanContext
impl RefUnwindSafe for PageBeanContext
impl Send for PageBeanContext
impl Sync for PageBeanContext
impl Unpin for PageBeanContext
impl UnwindSafe for PageBeanContext
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