pub struct RenderableTask {
pub input: String,
}
Expand description
Contains input values for a task.
Fields§
§input: String
A JSON object that contains values for the variables defined in the template. It is made available to the template under the substitution variable task.input
. For example, if you define a variable task.input.text
in your template, you can supply the variable in the JSON object as "text": "sample text"
.
Trait Implementations§
Source§impl Clone for RenderableTask
impl Clone for RenderableTask
Source§fn clone(&self) -> RenderableTask
fn clone(&self) -> RenderableTask
Returns a duplicate 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 RenderableTask
impl Debug for RenderableTask
Source§impl Default for RenderableTask
impl Default for RenderableTask
Source§fn default() -> RenderableTask
fn default() -> RenderableTask
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderableTask
impl PartialEq for RenderableTask
Source§impl Serialize for RenderableTask
impl Serialize for RenderableTask
impl StructuralPartialEq for RenderableTask
Auto Trait Implementations§
impl Freeze for RenderableTask
impl RefUnwindSafe for RenderableTask
impl Send for RenderableTask
impl Sync for RenderableTask
impl Unpin for RenderableTask
impl UnwindSafe for RenderableTask
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