[][src]Trait apollo_client::FromResponses

pub trait FromResponses: Sized {
    type Err;
    fn from_responses(responses: Vec<Response>) -> Result<Self, Self::Err>;
}

For apollo config api response to transfer to your favorite type.

Associated Types

type Err

Loading content...

Required methods

fn from_responses(responses: Vec<Response>) -> Result<Self, Self::Err>

Loading content...

Implementations on Foreign Types

impl FromResponses for ()[src]

type Err = ApolloClientError

impl FromResponses for Vec<Response>[src]

type Err = ApolloClientError

impl FromResponses for HashMap<String, Response>[src]

type Err = ApolloClientError

impl<T: DeserializeOwned> FromResponses for Vec<Configuration<T>>[src]

type Err = ApolloClientError

impl<T: DeserializeOwned> FromResponses for HashMap<String, Configuration<T>>[src]

type Err = ApolloClientError

Loading content...

Implementors

impl FromResponses for Response[src]

type Err = ApolloClientError

impl<T: DeserializeOwned> FromResponses for Configuration<T>[src]

type Err = ApolloClientError

Loading content...