You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// let key = client.create_key(key).await.unwrap();
701
-
///
701
+
///
702
702
/// assert_eq!(key.name, Some(name));
703
703
/// # client.delete_key(key).await.unwrap();
704
704
/// # });
@@ -733,12 +733,12 @@ impl Client {
733
733
/// let new_key = KeyBuilder::new();
734
734
/// let mut new_key = client.create_key(new_key).await.unwrap();
735
735
/// let mut key_update = KeyUpdater::new(new_key);
736
-
///
736
+
///
737
737
/// let name = "my name".to_string();
738
738
/// key_update.with_name(&name);
739
739
///
740
740
/// let key = client.update_key(key_update).await.unwrap();
741
-
///
741
+
///
742
742
/// assert_eq!(key.name, Some(name));
743
743
/// # client.delete_key(key).await.unwrap();
744
744
/// # });
@@ -784,7 +784,7 @@ impl Client {
784
784
/// Wait until Meilisearch processes a [Task], and get its status.
785
785
///
786
786
/// `interval` = The frequency at which the server should be polled. **Default = 50ms**
787
-
///
787
+
///
788
788
/// `timeout` = The maximum time to wait for processing to complete. **Default = 5000ms**
789
789
///
790
790
/// If the waited time exceeds `timeout` then an [Error::Timeout] will be returned.
@@ -869,7 +869,7 @@ impl Client {
869
869
/// # let client = client::Client::new(MEILISEARCH_URL, Some(MEILISEARCH_API_KEY));
870
870
/// # let index = client.create_index("movies_get_task", None).await.unwrap().wait_for_completion(&client, None, None).await.unwrap().try_make_index(&client).unwrap();
871
871
/// let task = index.delete_all_documents().await.unwrap();
872
-
///
872
+
///
873
873
/// let task = client.get_task(task).await.unwrap();
Copy file name to clipboardExpand all lines: src/dumps.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
//! The `dumps` module allows the creation of database dumps.
2
-
//!
2
+
//!
3
3
//! - Dumps are `.dump` files that can be used to launch Meilisearch.
4
-
//!
4
+
//!
5
5
//! - Dumps are compatible between Meilisearch versions.
6
6
//!
7
7
//! - Creating a dump is also referred to as exporting it, whereas launching Meilisearch with a dump is referred to as importing it.
@@ -45,7 +45,7 @@ use crate::{client::Client, errors::Error, request::*, task_info::TaskInfo};
45
45
/// See the [dumps](crate::dumps) module.
46
46
implClient{
47
47
/// Triggers a dump creation process.
48
-
///
48
+
///
49
49
/// Once the process is complete, a dump is created in the [dumps directory](https://docs.meilisearch.com/reference/features/configuration.html#dumps-destination).
50
50
/// If the dumps directory does not exist yet, it will be created.
51
51
///
@@ -63,7 +63,7 @@ impl Client {
63
63
/// # let client = Client::new(MEILISEARCH_URL, Some(MEILISEARCH_API_KEY));
64
64
/// #
65
65
/// let task_info = client.create_dump().await.unwrap();
0 commit comments