[][src]Struct datamuse_api_wrapper::Request

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

This struct represents a built request that can be sent using the send() method

Implementations

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

pub async fn send(self) -> Result<Response>[src]

Sends the built request and returns the response. This response can later be parsed with its list() method

Trait Implementations

impl<'a> Debug for Request<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Request<'a>[src]

impl<'a> Send for Request<'a>[src]

impl<'a> Sync for Request<'a>[src]

impl<'a> Unpin for Request<'a>[src]

impl<'a> !UnwindSafe for Request<'a>[src]

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.