apify-client 0.4.1

An official, but experimental, AI-generated and AI-maintained Rust client for the Apify API (https://apify.com).
Documentation
# Schedules

Obtained via `client.schedules()` (collection) and `client.schedule(id)` (single).

## `ScheduleCollectionClient`

| Method | Arguments | Returns | Description |
|---|---|---|---|
| `list(options)` | `ListOptions` | `PaginationList<Schedule>` | Lists schedules. |
| `create(schedule)` | `&impl Serialize` | `Schedule` | Creates a schedule. |

## `ScheduleClient`

| Method | Arguments | Returns | Description |
|---|---|---|---|
| `get()` || `Option<Schedule>` | Fetches the schedule. |
| `update(fields)` | `&impl Serialize` | `Schedule` | Updates the schedule. |
| `delete()` || `()` | Deletes the schedule. |
| `get_log()` || `Option<String>` | Fetches the schedule's invocation log. |

## The `Schedule` model

Returned by `get`, `create`, `update` and (as `PaginationList<Schedule>`) by `list`. Unknown
fields returned by the API are preserved in `extra`.

| Field | Type | Description |
|---|---|---|
| `id` | `String` | Unique schedule ID (always present); used to build a `client.schedule(&schedule.id)` client. |
| `user_id` | `Option<String>` | ID of the user who owns the schedule. |
| `name` | `Option<String>` | Technical name of the schedule. |
| `cron_expression` | `Option<String>` | The cron expression that determines when the schedule fires. |
| `is_enabled` | `Option<bool>` | Whether the schedule is currently enabled. |
| `extra` | `Extra` | Any other fields returned by the API. |