Struct etwin_core::core::Listing
source · pub struct Listing<T> {
pub offset: u32,
pub limit: u32,
pub count: u32,
pub items: Vec<T>,
}
Fields§
§offset: u32
§limit: u32
§count: u32
§items: Vec<T>
Trait Implementations§
source§impl<T: Ord> Ord for Listing<T>
impl<T: Ord> Ord for Listing<T>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq> PartialEq<Listing<T>> for Listing<T>
impl<T: PartialEq> PartialEq<Listing<T>> for Listing<T>
source§impl<T: PartialOrd> PartialOrd<Listing<T>> for Listing<T>
impl<T: PartialOrd> PartialOrd<Listing<T>> for Listing<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more