Trait prima_bridge::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

Implementors§

source§

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