pub enum FunctionArguments {
Raw(String),
Object(HashMap<String, Value>),
}Expand description
Arguments to a function call: either a raw (possibly partial) string, or a parsed object.
Variants§
Trait Implementations§
Source§impl Clone for FunctionArguments
impl Clone for FunctionArguments
Source§fn clone(&self) -> FunctionArguments
fn clone(&self) -> FunctionArguments
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 FunctionArguments
impl Debug for FunctionArguments
Source§impl<'de> Deserialize<'de> for FunctionArguments
impl<'de> Deserialize<'de> for FunctionArguments
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionArguments, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionArguments, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FunctionArguments
impl PartialEq for FunctionArguments
Source§impl Serialize for FunctionArguments
impl Serialize for FunctionArguments
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionArguments
Auto Trait Implementations§
impl Freeze for FunctionArguments
impl RefUnwindSafe for FunctionArguments
impl Send for FunctionArguments
impl Sync for FunctionArguments
impl Unpin for FunctionArguments
impl UnsafeUnpin for FunctionArguments
impl UnwindSafe for FunctionArguments
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