pub struct CmdletPathConfig {
pub operation_type: FileOperationType,
pub path_params: Vec<String>,
pub known_switches: Vec<String>,
pub known_value_params: Vec<String>,
pub leaf_only_path_params: Option<Vec<String>>,
pub positional_skip: Option<usize>,
pub optional_write: bool,
}Expand description
Per-cmdlet parameter configuration
Fields§
§operation_type: FileOperationType§path_params: Vec<String>§known_switches: Vec<String>§known_value_params: Vec<String>§leaf_only_path_params: Option<Vec<String>>§positional_skip: Option<usize>§optional_write: boolTrait Implementations§
Source§impl Clone for CmdletPathConfig
impl Clone for CmdletPathConfig
Source§fn clone(&self) -> CmdletPathConfig
fn clone(&self) -> CmdletPathConfig
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 CmdletPathConfig
impl Debug for CmdletPathConfig
Auto Trait Implementations§
impl Freeze for CmdletPathConfig
impl RefUnwindSafe for CmdletPathConfig
impl Send for CmdletPathConfig
impl Sync for CmdletPathConfig
impl Unpin for CmdletPathConfig
impl UnsafeUnpin for CmdletPathConfig
impl UnwindSafe for CmdletPathConfig
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