[][src]Struct discord_bots_org::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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

Blanket Implementations

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

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

type Owned = T

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T