pub async fn kernels_list(&self, kernel_list: &KernelsList) -> anyhow::Result<Vec<Kernel>> {
        Ok(Self::request_json(
            self.client
                .get(self.join_url("kernels/list")?)
                .query(kernel_list),
        )
        .await?)
    }
/// List kernels based on a set of search criteria.
///
/// Example
///
/// ```no_run
/// use kaggle::request::KernelsList;
/// use kaggle::KaggleApiClient;
///
/// #[tokio::main]
/// async fn main() -> Result<(), Box<dyn std::error::Error>> {
///     let kaggle = KaggleApiClient::builder().build()?;
///     let resp = kaggle
///         .kernels_list(&KernelsList::default().search("health"))
///         .await?;
///     Ok(())
/// }
/// ```
List kernels based on a set of search criteria.
Example


List kernels based on a set of search criteria . Example
pub async fn kernels_list(&self, kernel_list: &KernelsList) -> anyhow::Result<Vec<Kernel>> {
        Ok(Self::request_json(
            self.client
                .get(self.join_url("kernels/list")?)
                .query(kernel_list),
        )
        .await?)
    }
pub async fn kernels_list ( & self , kernel_list : & KernelsList ) -> anyhow :: Result < Vec < Kernel > > { Ok ( Self :: request_json ( self . client . get ( self . join_url ( " " ) ? ) . query ( kernel_list ) , ) . await ? ) }
List kernels based on a set of search criteria.
List kernels based on a set of search criteria .
&self
kernel_list
&KernelsList
&self
kernel_list
&KernelsList
[tokio::main]
async fn main() -> Result<(), Box> {
let kaggle = KaggleApiClient::builder().build()?;
let resp = kaggle
.kernels_list(&KernelsList::default().search("health"))
.await?;
Ok(())
}
```
async fn main () - > Result< () Box > { let kaggle = KaggleApiClient :: builder () . build () ? ; let resp = kaggle . kernels_list ( &KernelsList :: default () . search ( " health " )) . await? ; Ok (( )) } ` ` `