[−][src]Struct giphy::v1::gifs::RandomRequest
Giphy Random endpoint request
Methods
impl<'a, 'b> RandomRequest<'a, 'b>
[src]
pub fn new() -> RandomRequest<'a, 'b>
[src]
Creates new Random endpoint request
pub fn with_tag(self, value: &'a str) -> Self
[src]
Filters Random request by specific tag
pub fn with_rating(self, value: &'b str) -> Self
[src]
Filters Random request by specific rating
Trait Implementations
impl<'a, 'b> GiphyRequest<SingleGifResponse> for RandomRequest<'a, 'b>
[src]
fn get_endpoint(&self) -> &'static str
[src]
impl<'a, 'b> Default for RandomRequest<'a, 'b>
[src]
fn default() -> RandomRequest<'a, 'b>
[src]
impl<'a, 'b> Serialize for RandomRequest<'a, 'b>
[src]
Auto Trait Implementations
impl<'a, 'b> Send for RandomRequest<'a, 'b>
impl<'a, 'b> Sync for RandomRequest<'a, 'b>
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.