rename received_documents_ids to matched_documents

This commit is contained in:
Irevoire 2022-10-25 12:06:01 +02:00 committed by Clément Renault
parent 16fac10074
commit 12669bf07c
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -86,7 +86,7 @@ pub struct DetailsView {
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub primary_key: Option<Option<String>>, pub primary_key: Option<Option<String>>,
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub received_document_ids: Option<usize>, pub matched_documents: Option<usize>,
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub deleted_documents: Option<Option<u64>>, pub deleted_documents: Option<Option<u64>>,
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
@ -126,7 +126,7 @@ impl From<Details> for DetailsView {
matched_documents: received_document_ids, matched_documents: received_document_ids,
deleted_documents, deleted_documents,
} => DetailsView { } => DetailsView {
received_document_ids: Some(received_document_ids), matched_documents: Some(received_document_ids),
deleted_documents: Some(deleted_documents), deleted_documents: Some(deleted_documents),
..DetailsView::default() ..DetailsView::default()
}, },