pub struct WebArgument {
pub switch: String,
pub value: String,
}Expand description
Represents a PDSC argument element
for a web invocation
Unlike Argument, the web generator argument has no host or mode, and
switch is required rather than optional.
Fields§
§switch: StringCommand-line switch prefix prepended to the argument value (e.g. "--board"); required
value: StringThe argument value; supports substitution variables
Trait Implementations§
Source§impl Clone for WebArgument
impl Clone for WebArgument
Source§fn clone(&self) -> WebArgument
fn clone(&self) -> WebArgument
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 WebArgument
impl Debug for WebArgument
Source§impl Default for WebArgument
impl Default for WebArgument
Source§fn default() -> WebArgument
fn default() -> WebArgument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebArgument
impl<'de> Deserialize<'de> for WebArgument
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 WebArgument
Source§impl PartialEq for WebArgument
impl PartialEq for WebArgument
Source§impl Serialize for WebArgument
impl Serialize for WebArgument
impl StructuralPartialEq for WebArgument
Auto Trait Implementations§
impl Freeze for WebArgument
impl RefUnwindSafe for WebArgument
impl Send for WebArgument
impl Sync for WebArgument
impl Unpin for WebArgument
impl UnsafeUnpin for WebArgument
impl UnwindSafe for WebArgument
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