Struct prima_bridge::Response [−][src]
pub struct Response { /* fields omitted */ }
Expand description
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
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more