pub struct ArgsConfig {
pub template: Option<Vec<String>>,
pub inline: Option<String>,
pub mode: ArgsMode,
pub default: Vec<String>,
pub prefix: Vec<String>,
pub suffix: Vec<String>,
}Expand description
Template-based argument configuration
Fields§
§template: Option<Vec<String>>Template-based argument list
inline: Option<String>Inline template string
mode: ArgsModeArgument processing mode
default: Vec<String>Default arguments (legacy support)
prefix: Vec<String>Arguments always prepended
suffix: Vec<String>Arguments always appended
Trait Implementations§
Source§impl Clone for ArgsConfig
impl Clone for ArgsConfig
Source§fn clone(&self) -> ArgsConfig
fn clone(&self) -> ArgsConfig
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 ArgsConfig
impl Debug for ArgsConfig
Source§impl Default for ArgsConfig
impl Default for ArgsConfig
Source§impl<'de> Deserialize<'de> for ArgsConfig
impl<'de> Deserialize<'de> for ArgsConfig
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
Auto Trait Implementations§
impl Freeze for ArgsConfig
impl RefUnwindSafe for ArgsConfig
impl Send for ArgsConfig
impl Sync for ArgsConfig
impl Unpin for ArgsConfig
impl UnwindSafe for ArgsConfig
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