[−][src]Struct apollo_client::Response
Apollo config api response.
Fields
app_id: Stringcluster: Stringnamespace_name: Stringconfigurations: HashMap<String, String>release_key: StringMethods
impl Response[src]
pub fn get_configurations_content(&self) -> ApolloClientResult<&str>[src]
Get the configurations.content field of the response.
pub fn infer_kind(&self) -> ConfigurationKind[src]
Infer the configuration namespace kind.
pub fn deserialize_configuration<T: DeserializeOwned>(
&self
) -> ApolloClientResult<T>[src]
&self
) -> ApolloClientResult<T>
Deserialize the configurations field for properties, or configurations.content for
other namespace kind, without wrapper.
pub fn deserialize_to_configuration<T: DeserializeOwned>(
&self
) -> ApolloClientResult<Configuration<T>>[src]
&self
) -> ApolloClientResult<Configuration<T>>
Deserialize the configurations field for properties, or configurations.content for
other namespace kind, with Configuration wrapper.
Trait Implementations
impl Debug for Response[src]
impl<'de> Deserialize<'de> for Response[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl FromResponses for Response[src]
type Err = ApolloClientError
fn from_responses(responses: Vec<Response>) -> Result<Self, Self::Err>[src]
Auto Trait Implementations
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,