pub fn query_aliases(&self, tag: &str) -> Option<Vec<AliasEntry>> {
        let result = self
            .check_response(
                self.client
                    .get(&self.urls.borrow()["alias"])
                    .query(&[("search[antecedent_name]", tag)])
                    .send(),
            )
            .json::<Vec<AliasEntry>>();

        match result {
            Ok(e) => Some(e),
            Err(_) => None,
        }
    }
/// Queries aliases and returns response.
Queries aliases and returns response.
Queries aliases and returns response .
pub fn query_aliases(&self, tag: &str) -> Option<Vec<AliasEntry>> {
        let result = self
            .check_response(
                self.client
                    .get(&self.urls.borrow()["alias"])
                    .query(&[("search[antecedent_name]", tag)])
                    .send(),
            )
            .json::<Vec<AliasEntry>>();
        match result {
            Ok(e) => Some(e),
            Err(_) => None,
        }
    }
pub fn query_aliases ( & self , tag : & str ) -> Option < Vec < AliasEntry > > { let result = self . check_response ( self . client . get ( & self . urls . borrow ( ) [ " " ] ) . query ( & [ ( " " , tag ) ] ) . send ( ) , ) . json :: < Vec < AliasEntry > > ( ) ; match result { Ok ( e ) => Some ( e ) , Err ( _ ) => None , } }
Queries aliases and returns response.
Queries aliases and returns response .
&self
tag
&str
&self
tag
&str