[][src]Struct top_gg::model::SearchResponse

pub struct SearchResponse<T> {
    pub count: u64,
    pub limit: u64,
    pub offset: u64,
    pub results: Vec<T>,
    pub total: u64,
}

Information about a search response.

Fields

count: u64

The length of the results vector.

limit: u64

The limit used.

offset: u64

The offset used.

results: Vec<T>

The matching results.

total: u64

The total number of results matching the search.

Trait Implementations

impl<T: Clone> Clone for SearchResponse<T>[src]

impl<T: Debug> Debug for SearchResponse<T>[src]

impl<T> Serialize for SearchResponse<T> where
    T: Serialize
[src]

impl<'de, T> Deserialize<'de> for SearchResponse<T> where
    T: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<T> Send for SearchResponse<T> where
    T: Send

impl<T> Sync for SearchResponse<T> where
    T: Sync

impl<T> Unpin for SearchResponse<T> where
    T: Unpin

impl<T> UnwindSafe for SearchResponse<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for SearchResponse<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]