pub struct TaskPublicConfig {
pub published_at: Option<DateTime<Utc>>,
pub seo_title: Option<String>,
pub seo_description: Option<String>,
pub input_schema_fields: Option<Vec<String>>,
pub dataset_name: Option<String>,
pub dataset_view: Option<String>,
}Expand description
Public-facing display configuration of a task’s public landing page.
The task is published when published_at is set and unpublished when it is None.
published_at is server-controlled (read-only) - use
TaskClient::publish /
TaskClient::unpublish to change the
publication state.
Fields§
§published_at: Option<DateTime<Utc>>When the task was published, or None if it isn’t published. Read-only.
seo_title: Option<String>Name shown by search engines. Defaults to the task title when unset.
seo_description: Option<String>Description shown by search engines. Defaults to the task description when unset.
input_schema_fields: Option<Vec<String>>Names of the task input fields displayed on the public task page.
dataset_name: Option<String>Name of the Actor dataset schema entry whose results are displayed. None uses the
Actor’s default dataset.
dataset_view: Option<String>Key of the dataset view (from the Actor’s dataset schema) used to display results. Required to publish the task.