Struct brix_commands::ProcessedCommandParams
source · pub struct ProcessedCommandParams {
pub source: Option<PathBuf>,
pub destination: Option<PathBuf>,
pub overwrite: Option<bool>,
pub search: Option<String>,
pub replace: Option<String>,
pub commands: Option<Vec<String>>,
pub stdout: Option<bool>,
pub context: Option<HashMap<String, String>>,
}
Expand description
A complete struct containing all possible fields in a command. All values are in their preferred type and not just strings.
Fields§
§source: Option<PathBuf>
§destination: Option<PathBuf>
§overwrite: Option<bool>
§search: Option<String>
§replace: Option<String>
§commands: Option<Vec<String>>
§stdout: Option<bool>
§context: Option<HashMap<String, String>>
Trait Implementations§
source§impl Debug for ProcessedCommandParams
impl Debug for ProcessedCommandParams
source§impl<'de> Deserialize<'de> for ProcessedCommandParams
impl<'de> Deserialize<'de> for ProcessedCommandParams
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 RefUnwindSafe for ProcessedCommandParams
impl Send for ProcessedCommandParams
impl Sync for ProcessedCommandParams
impl Unpin for ProcessedCommandParams
impl UnwindSafe for ProcessedCommandParams
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