pub async fn grammatical_features(&self) -> Result<serde_json::Value> {
        let endpoint = Endpoint::GrammaticalFeatures;
        let path = format!("{}/{}", endpoint.as_str(), self.source_language.code());
        let mut resp = self.get_request(&path).send().await?;
        trace!(?endpoint, ?path, "requesting grammatical_features API");

        Client::handle_api_error(&mut resp).await?;
        Ok(resp.body_json().await?)
    }
/// Query all available grammatical features of
/// the language  
Query all available grammatical features of
the language
Query all available grammatical features of the language
pub async fn grammatical_features(&self) -> Result<serde_json::Value> {
        let endpoint = Endpoint::GrammaticalFeatures;
        let path = format!("{}/{}", endpoint.as_str(), self.source_language.code());
        let mut resp = self.get_request(&path).send().await?;
        trace!(?endpoint, ?path, "requesting grammatical_features API");
        Client::handle_api_error(&mut resp).await?;
        Ok(resp.body_json().await?)
    }
pub async fn grammatical_features ( & self ) -> Result < serde_json :: Value > { let endpoint = Endpoint :: GrammaticalFeatures ; let path = format ! ( " " endpoint as_str ( ) self source_language code ( ) ) ; let mut resp = self . get_request ( & path ) . send ( ) . await ? ; trace ! ( endpoint path " " ) ; Client :: handle_api_error ( & mut resp ) . await ? ; Ok ( resp . body_json ( ) . await ? ) }
Query all available grammatical features of
the language
Query all available grammatical features of the language
&self