[][src]Struct giphy::v1::gifs::TrendingRequest

pub struct TrendingRequest<'a> { /* fields omitted */ }

Giphy Trending endpoint request

Methods

impl<'a> TrendingRequest<'a>[src]

pub fn new() -> TrendingRequest<'a>[src]

Creates new Trending endpoint request

pub fn with_rating<'b: 'a>(self, rating: &'b str) -> Self[src]

Specifies the rating of GIF objects returned from Trending request

pub fn with_limit(self, limit: u32) -> Self[src]

Limits the maximum number of GIF objects returned from Trending request

pub fn with_offset(self, offset: u32) -> Self[src]

Specifies the number of GIF objects to skip when making Trending request

Trait Implementations

impl<'p> GiphyRequest<PaginatedGifListResponse> for TrendingRequest<'p>[src]

impl<'a> Default for TrendingRequest<'a>[src]

impl<'a> Serialize for TrendingRequest<'a>[src]

Auto Trait Implementations

impl<'a> Send for TrendingRequest<'a>

impl<'a> Sync for TrendingRequest<'a>

Blanket Implementations

impl<'a, RequestType, ResponseType> RunnableAsyncRequest for RequestType where
    RequestType: GiphyRequest<ResponseType>,
    ResponseType: 'static + DeserializeOwned + Send
[src]

impl<'a, RequestType, ResponseType> RunnableSyncRequest for RequestType where
    RequestType: GiphyRequest<ResponseType>,
    ResponseType: DeserializeOwned
[src]

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

impl<T> From for T[src]

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

type Error = Infallible

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

impl<T, U> TryInto 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> Erased for T