pub struct HistoryPage {
pub history: Vec<HistoryEntry>,
pub pagination: Box<PaginationInfo>,
}Fields§
§history: Vec<HistoryEntry>List of historical results
pagination: Box<PaginationInfo>Implementations§
Source§impl HistoryPage
impl HistoryPage
pub fn new( history: Vec<HistoryEntry>, pagination: PaginationInfo, ) -> HistoryPage
Trait Implementations§
Source§impl Clone for HistoryPage
impl Clone for HistoryPage
Source§fn clone(&self) -> HistoryPage
fn clone(&self) -> HistoryPage
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 HistoryPage
impl Debug for HistoryPage
Source§impl Default for HistoryPage
impl Default for HistoryPage
Source§fn default() -> HistoryPage
fn default() -> HistoryPage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HistoryPage
impl<'de> Deserialize<'de> for HistoryPage
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 HistoryPage
impl PartialEq for HistoryPage
Source§impl Serialize for HistoryPage
impl Serialize for HistoryPage
impl StructuralPartialEq for HistoryPage
Auto Trait Implementations§
impl Freeze for HistoryPage
impl RefUnwindSafe for HistoryPage
impl Send for HistoryPage
impl Sync for HistoryPage
impl Unpin for HistoryPage
impl UnwindSafe for HistoryPage
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