pub enum OneOfRunArguments {
Array(Vec<String>),
Map(HashMap<String, Value>),
}Expand description
Represents a value that can be either a list of arguments (array) or a key/value mapping (object). Matches Go SDK’s RunArguments type which supports both forms.
Variants§
Array(Vec<String>)
A list of string arguments (e.g., [“arg1=value1”, “arg2”])
Map(HashMap<String, Value>)
A key/value mapping of arguments (e.g., {“arg1”: “value1”})
Implementations§
Trait Implementations§
Source§impl Clone for OneOfRunArguments
impl Clone for OneOfRunArguments
Source§fn clone(&self) -> OneOfRunArguments
fn clone(&self) -> OneOfRunArguments
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 OneOfRunArguments
impl Debug for OneOfRunArguments
Source§impl Default for OneOfRunArguments
impl Default for OneOfRunArguments
Source§impl<'de> Deserialize<'de> for OneOfRunArguments
impl<'de> Deserialize<'de> for OneOfRunArguments
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 OneOfRunArguments
impl PartialEq for OneOfRunArguments
Source§fn eq(&self, other: &OneOfRunArguments) -> bool
fn eq(&self, other: &OneOfRunArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OneOfRunArguments
impl Serialize for OneOfRunArguments
impl StructuralPartialEq for OneOfRunArguments
Auto Trait Implementations§
impl Freeze for OneOfRunArguments
impl RefUnwindSafe for OneOfRunArguments
impl Send for OneOfRunArguments
impl Sync for OneOfRunArguments
impl Unpin for OneOfRunArguments
impl UnsafeUnpin for OneOfRunArguments
impl UnwindSafe for OneOfRunArguments
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