Skip to main content

ParsedGraphqlResponseExt

Trait ParsedGraphqlResponseExt 

Source
pub trait ParsedGraphqlResponseExt<T>
where for<'de> T: Deserialize<'de>,
{ // Required methods fn from_str(body_as_str: &str) -> Result<Self, PrimaBridgeError> where Self: Sized; fn get_errors(&self) -> Vec<Error>; fn has_parsed_data(&self) -> bool; }

Required Methods§

Source

fn from_str(body_as_str: &str) -> Result<Self, PrimaBridgeError>
where Self: Sized,

Source

fn get_errors(&self) -> Vec<Error>

Source

fn has_parsed_data(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> ParsedGraphqlResponseExt<T> for ParsedGraphqlResponse<T>
where for<'de> T: Deserialize<'de>,