pub struct Argument {
pub mode: Option<String>,
pub host: Option<String>,
pub switch: Option<String>,
pub value: String,
}Expand description
Represents a PDSC argument element
A single argument passed to an exe invocation.
Fields§
§mode: Option<String>Invocation mode; one of normal (default) or dry-run
host: Option<String>Target host platform; one of all (default), win, linux, mac, other
switch: Option<String>Command-line switch prefix prepended to the argument value (e.g. "--project")
value: StringThe argument value; supports substitution variables
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Argument
impl<'de> Deserialize<'de> for Argument
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
impl Eq for Argument
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnsafeUnpin for Argument
impl UnwindSafe for Argument
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