Enum meilisearch_sdk::tasks::TaskType
source · pub enum TaskType {
Customs,
DocumentAdditionOrUpdate {
details: Option<DocumentAdditionOrUpdate>,
},
DocumentDeletion {
details: Option<DocumentDeletion>,
},
IndexCreation {
details: Option<IndexCreation>,
},
IndexUpdate {
details: Option<IndexUpdate>,
},
IndexDeletion {
details: Option<IndexDeletion>,
},
SettingsUpdate {
details: Box<Option<Settings>>,
},
DumpCreation {
details: Option<DumpCreation>,
},
IndexSwap {
details: Option<IndexSwap>,
},
TaskCancelation {
details: Option<TaskCancelation>,
},
TaskDeletion {
details: Option<TaskDeletion>,
},
SnapshotCreation {
details: Option<SnapshotCreation>,
},
}Variants§
Customs
DocumentAdditionOrUpdate
Fields
§
details: Option<DocumentAdditionOrUpdate>DocumentDeletion
Fields
§
details: Option<DocumentDeletion>IndexCreation
Fields
§
details: Option<IndexCreation>IndexUpdate
Fields
§
details: Option<IndexUpdate>IndexDeletion
Fields
§
details: Option<IndexDeletion>SettingsUpdate
DumpCreation
Fields
§
details: Option<DumpCreation>IndexSwap
TaskCancelation
Fields
§
details: Option<TaskCancelation>TaskDeletion
Fields
§
details: Option<TaskDeletion>SnapshotCreation
Fields
§
details: Option<SnapshotCreation>Trait Implementations§
source§impl<'de> Deserialize<'de> for TaskType
impl<'de> Deserialize<'de> for TaskType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TaskType
impl Send for TaskType
impl Sync for TaskType
impl Unpin for TaskType
impl UnwindSafe for TaskType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more