box-open-sdk 0.3.1

Box API client for Rust (open source, community, punk rock) — typed models, async managers, and a reqwest runtime with retry, backoff, and token refresh.
Documentation
<!-- Generated by box-gantry. DO NOT EDIT. -->
# SearchManager

Reach these methods through the `search` field on `client::Client`.

## query_by_metadata

`POST /metadata_queries/execute_read`

**Request body** (`application/json`): `MetadataQuery`

**Returns:** `MetadataQueryResults`

**Example**

```rust
let result = client.search.query_by_metadata(schemas::MetadataQuery { /* … */ }).await?;
```

## get

`GET /search`

| Parameter | In | Type | Required |
|---|---|---|---|
| `query` | query | `String` | no |
| `scope` | query | `GetScope` | no |
| `file_extensions` | query | `Vec<String>` | no |
| `created_at_range` | query | `Vec<String>` | no |
| `updated_at_range` | query | `Vec<String>` | no |
| `size_range` | query | `Vec<i64>` | no |
| `owner_user_ids` | query | `Vec<String>` | no |
| `recent_updater_user_ids` | query | `Vec<String>` | no |
| `ancestor_folder_ids` | query | `Vec<String>` | no |
| `content_types` | query | `Vec<GetContentTypes>` | no |
| `type` | query | `GetType` | no |
| `trash_content` | query | `GetTrashContent` | no |
| `mdfilters` | query | `Vec<MetadataFilter>` | no |
| `sort` | query | `GetSort` | no |
| `direction` | query | `GetDirection` | no |
| `limit` | query | `i64` | no |
| `include_recent_shared_links` | query | `bool` | no |
| `fields` | query | `Vec<String>` | no |
| `offset` | query | `i64` | no |
| `deleted_user_ids` | query | `Vec<String>` | no |
| `deleted_at_range` | query | `Vec<String>` | no |

**Returns:** `SearchResultsResponse`

**Example**

```rust
let result = client.search.get(None).await?;
```