#[non_exhaustive]pub struct FunctionInvocation {
pub error: Option<String>,
pub parameters: Option<Vec<Parameter>>,
pub return_value: Option<String>,
}Expand description
Function Invocation
The Function Invocation object provides details regarding the invocation of a function.
[] Category: | Name: function_invocation
Constraints:
- at_least_one:
[parameters,return_value,error]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.error: Option<String>Error Code
The error indication returned from the function. This may differ from the return value (e.g. when errno is used).
optional
parameters: Option<Vec<Parameter>>Parameters
The parameters passed into a function invocation.
optional
return_value: Option<String>Return Value
The value returned from a function.
optional
Trait Implementations§
Source§impl Clone for FunctionInvocation
impl Clone for FunctionInvocation
Source§fn clone(&self) -> FunctionInvocation
fn clone(&self) -> FunctionInvocation
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 FunctionInvocation
impl Debug for FunctionInvocation
Source§impl Default for FunctionInvocation
impl Default for FunctionInvocation
Source§fn default() -> FunctionInvocation
fn default() -> FunctionInvocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionInvocationwhere
FunctionInvocation: Default,
impl<'de> Deserialize<'de> for FunctionInvocationwhere
FunctionInvocation: Default,
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 FunctionInvocation
impl PartialEq for FunctionInvocation
Source§impl Serialize for FunctionInvocation
impl Serialize for FunctionInvocation
impl StructuralPartialEq for FunctionInvocation
Auto Trait Implementations§
impl Freeze for FunctionInvocation
impl RefUnwindSafe for FunctionInvocation
impl Send for FunctionInvocation
impl Sync for FunctionInvocation
impl Unpin for FunctionInvocation
impl UnwindSafe for FunctionInvocation
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