Enum souk::shared::task::TaskResponseKind
source · pub enum TaskResponseKind {
Initial,
Update,
Result,
}
Variants§
Initial
Initial (first) response of a task. This includes a detailed list of all steps, see [TaskResponse.initial_response].
Update
Update response of a task, contains updated information of a single step, see [TaskResponse.update_response].
Result
Task ended. See [TaskResponse.result_response] for more details.
Trait Implementations§
source§impl Clone for TaskResponseKind
impl Clone for TaskResponseKind
source§fn clone(&self) -> TaskResponseKind
fn clone(&self) -> TaskResponseKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TaskResponseKind
impl Debug for TaskResponseKind
source§impl<'de> Deserialize<'de> for TaskResponseKind
impl<'de> Deserialize<'de> for TaskResponseKind
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
source§impl Hash for TaskResponseKind
impl Hash for TaskResponseKind
source§impl PartialEq<TaskResponseKind> for TaskResponseKind
impl PartialEq<TaskResponseKind> for TaskResponseKind
source§fn eq(&self, other: &TaskResponseKind) -> bool
fn eq(&self, other: &TaskResponseKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaskResponseKind
impl Serialize for TaskResponseKind
source§impl Type for TaskResponseKind
impl Type for TaskResponseKind
impl Eq for TaskResponseKind
impl StructuralEq for TaskResponseKind
impl StructuralPartialEq for TaskResponseKind
Auto Trait Implementations§
impl RefUnwindSafe for TaskResponseKind
impl Send for TaskResponseKind
impl Sync for TaskResponseKind
impl Unpin for TaskResponseKind
impl UnwindSafe for TaskResponseKind
Blanket Implementations§
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.