[][src]Struct randselect::Args

pub struct Args {
    pub in_dir: PathBuf,
    pub out_dir: PathBuf,
    pub num_files: usize,
    pub move_files: bool,
    pub go: bool,
    pub seed: Option<u64>,
}

Fields

in_dir: PathBuf

The input directory to select from.

out_dir: PathBuf

The directory to output to. Will be created if it doesn't exist.

num_files: usize

The number of files to select.

move_files: bool

Whether to move the files from IN_DIR to OUT_DIR, rather than cp.

go: bool

Execute the copy or move. Specify a seed for deterministic behavior.

seed: Option<u64>

The seed to use for the PRNG (u64).

Trait Implementations

impl Debug for Args[src]

impl StructOpt for Args[src]

impl StructOptInternal for Args[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,