Struct prima_bridge::prelude::Response [−][src]
pub struct Response { /* fields omitted */ }
Expand description
The Response struct represent a server response
Implementations
pub fn get_data<T>(self, response_extractor: &[&str]) -> PrimaBridgeResult<T> where
for<'de> T: Deserialize<'de> + Debug,
pub fn get_data<T>(self, response_extractor: &[&str]) -> PrimaBridgeResult<T> where
for<'de> T: Deserialize<'de> + Debug,
Returns data from the function.
pub fn get_graphql_response<T>(
&self
) -> PrimaBridgeResult<ParsedGraphqlResponse<T>> where
for<'de> T: Deserialize<'de>,
pub fn get_graphql_response<T>(
&self
) -> PrimaBridgeResult<ParsedGraphqlResponse<T>> where
for<'de> T: Deserialize<'de>,
This functions return a Result with a ParsedGraphqlResponse Look at the type documentation for more specifications
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Response
impl UnwindSafe for Response