pub struct CallFunctionDefinition {
pub call: String,
pub with: Option<HashMap<String, Value>>,
pub common: TaskDefinitionFields,
}Expand description
Represents the definition of a function call task
Fields§
§call: StringGets/sets the name of the function to call
with: Option<HashMap<String, Value>>Gets/sets a name/value mapping of the parameters, if any, to call the function with
common: TaskDefinitionFieldsGets/sets the task’s common fields
Trait Implementations§
Source§impl Clone for CallFunctionDefinition
impl Clone for CallFunctionDefinition
Source§fn clone(&self) -> CallFunctionDefinition
fn clone(&self) -> CallFunctionDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CallFunctionDefinition
impl Debug for CallFunctionDefinition
Source§impl Default for CallFunctionDefinition
impl Default for CallFunctionDefinition
Source§fn default() -> CallFunctionDefinition
fn default() -> CallFunctionDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallFunctionDefinition
impl<'de> Deserialize<'de> for CallFunctionDefinition
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 PartialEq for CallFunctionDefinition
impl PartialEq for CallFunctionDefinition
Source§fn eq(&self, other: &CallFunctionDefinition) -> bool
fn eq(&self, other: &CallFunctionDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CallFunctionDefinition
impl Serialize for CallFunctionDefinition
impl StructuralPartialEq for CallFunctionDefinition
Auto Trait Implementations§
impl Freeze for CallFunctionDefinition
impl RefUnwindSafe for CallFunctionDefinition
impl Send for CallFunctionDefinition
impl Sync for CallFunctionDefinition
impl Unpin for CallFunctionDefinition
impl UnsafeUnpin for CallFunctionDefinition
impl UnwindSafe for CallFunctionDefinition
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