diff --git a/crates/meilisearch/src/routes/mod.rs b/crates/meilisearch/src/routes/mod.rs index b371c17a0..b394a0d4c 100644 --- a/crates/meilisearch/src/routes/mod.rs +++ b/crates/meilisearch/src/routes/mod.rs @@ -204,22 +204,22 @@ pub fn parse_include_metadata_header(req: &HttpRequest) -> bool { pub struct SummarizedTaskView { /// The task unique identifier. #[schema(value_type = u32)] - task_uid: TaskId, + pub task_uid: TaskId, /// The index affected by this task. May be `null` if the task is not linked to any index. - index_uid: Option, + pub index_uid: Option, /// The status of the task. - status: Status, + pub status: Status, /// The type of the task. #[serde(rename = "type")] - kind: Kind, + pub kind: Kind, /// The date on which the task was enqueued. #[serde( serialize_with = "time::serde::rfc3339::serialize", deserialize_with = "time::serde::rfc3339::deserialize" )] - enqueued_at: OffsetDateTime, + pub enqueued_at: OffsetDateTime, #[serde(default, skip_serializing_if = "Option::is_none")] - custom_metadata: Option, + pub custom_metadata: Option, } impl From for SummarizedTaskView {