Enum switchboard_utils::runner::TaskOutput
source · pub enum TaskOutput {
None,
Str(String),
Num(f64),
Json(Value),
}
Expand description
The TaskOutput represents the different kinds of outputs a task may return.
Variants§
Trait Implementations§
source§impl Clone for TaskOutput
impl Clone for TaskOutput
source§fn clone(&self) -> TaskOutput
fn clone(&self) -> TaskOutput
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 TaskOutput
impl Debug for TaskOutput
source§impl Default for TaskOutput
impl Default for TaskOutput
source§fn default() -> TaskOutput
fn default() -> TaskOutput
Returns the “default value” for a type. Read more
source§impl PartialEq for TaskOutput
impl PartialEq for TaskOutput
source§fn eq(&self, other: &TaskOutput) -> bool
fn eq(&self, other: &TaskOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryInto<f64> for TaskOutput
impl TryInto<f64> for TaskOutput
impl StructuralPartialEq for TaskOutput
Auto Trait Implementations§
impl RefUnwindSafe for TaskOutput
impl Send for TaskOutput
impl Sync for TaskOutput
impl Unpin for TaskOutput
impl UnwindSafe for TaskOutput
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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