From a305e227ae29bc2dd96ebcd1b98bc9a046f13581 Mon Sep 17 00:00:00 2001 From: Laurent Querel Date: Mon, 4 Nov 2024 17:47:24 -0800 Subject: [PATCH] chore(clippy): Fix clippy lint issue --- src/model/table_data_insert_all_request.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/model/table_data_insert_all_request.rs b/src/model/table_data_insert_all_request.rs index 50ba464..646d22b 100644 --- a/src/model/table_data_insert_all_request.rs +++ b/src/model/table_data_insert_all_request.rs @@ -106,4 +106,8 @@ impl TableDataInsertAllRequestGzipped { pub fn len(&self) -> usize { self.data.len() } + + pub fn is_empty(&self) -> bool { + self.data.is_empty() + } }