mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
implement list indexes
This commit is contained in:
parent
482f734e53
commit
d43dc4824c
6 changed files with 120 additions and 26 deletions
|
@ -134,6 +134,13 @@ impl<M, N, E> UpdateStatus<M, N, E> {
|
|||
UpdateStatus::Failed(u) => u.id(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn processed(&self) -> Option<&Processed<M, N>> {
|
||||
match self {
|
||||
UpdateStatus::Processed(p) => Some(p),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<M, N, E> From<Pending<M>> for UpdateStatus<M, N, E> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue