[][src]Struct dbl::types::Listing

pub struct Listing {
    pub results: Vec<Bot>,
    pub limit: u64,
    pub offset: u64,
    pub count: u64,
    pub total: u64,
}

Search result returned by Client::search.

Fields

results: Vec<Bot>limit: u64offset: u64count: u64total: u64

Trait Implementations

impl IntoIterator for Listing[src]

type Item = Bot

The type of the elements being iterated over.

type IntoIter = IntoIter<Bot>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a Listing[src]

type Item = &'a Bot

The type of the elements being iterated over.

type IntoIter = Iter<'a, Bot>

Which kind of iterator are we turning this into?

impl Debug for Listing[src]

impl Index<usize> for Listing[src]

type Output = Bot

The returned type after indexing.

impl<'de> Deserialize<'de> for Listing[src]

Auto Trait Implementations

impl Send for Listing

impl Sync for Listing

Blanket Implementations

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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