pub async fn search<S: Into<String>>(&self, name: S, limit: usize) -> Result<Vec<Game>, Error> {
        let mut request = RequestBuilder::new();
        request.all_fields().search(name).limit(limit);

        self.get(request).await
    }
///Returns a games collection searching by the given name
Returns a games collection searching by the given name
Returns a games collection searching by the given name
pub async fn search<S: Into<String>>(&self, name: S, limit: usize) -> Result<Vec<Game>, Error> {
        let mut request = RequestBuilder::new();
        request.all_fields().search(name).limit(limit);
        self.get(request).await
    }
pub async fn search < S : Into < String > > ( & self , name : S , limit : usize ) -> Result < Vec < Game > , Error > { let mut request = RequestBuilder :: new ( ) ; request . all_fields ( ) . search ( name ) . limit ( limit ) ; self . get ( request ) . await }
Returns a games collection searching by the given name
Returns a games collection searching by the given name
&self
name
S
limit
usize
&self
name
S
limit
usize