pub enum TaskType {
Show 13 variants
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>,
},
IndexCompaction {
details: Option<IndexCompaction>,
},
}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>IndexCompaction
Fields
§
details: Option<IndexCompaction>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 Freeze for TaskType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more