[−][src]Struct giphy::v1::gifs::TrendingRequest
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]
fn get_endpoint(&self) -> &'static str
[src]
impl<'a> Default for TrendingRequest<'a>
[src]
fn default() -> 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]
RequestType: GiphyRequest<ResponseType>,
ResponseType: 'static + DeserializeOwned + Send,
fn send_to(
&Self,
&AsyncApi
) -> Box<dyn Future<Item = ResponseType, Error = Error> + 'static + Send>
[src]
&Self,
&AsyncApi
) -> Box<dyn Future<Item = ResponseType, Error = Error> + 'static + Send>
impl<'a, RequestType, ResponseType> RunnableSyncRequest for RequestType where
RequestType: GiphyRequest<ResponseType>,
ResponseType: DeserializeOwned,
[src]
RequestType: GiphyRequest<ResponseType>,
ResponseType: DeserializeOwned,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.