[][src]Struct a_cli_tool::config7::AppData

pub struct AppData {
    source: Source,
    target: PathBuf,
    actions: Vec<Actions>,
}

Application config fields.

Configuration for this CLI tool that tell it where to get data from, write data to, and what operations to perform on it.

Fields

source: Source

The configuration for the source of data for this tool.

target: PathBuf

A path to write the created thing to.

actions: Vec<Actions>

The operations to perform on the data this tool manipulates.

This array of operations will be performed in order and an operation may appear more than once.

E.g:

actions: [ foo, bar, baz, bar ]

Trait Implementations

impl<'de> Deserialize<'de> for AppData[src]

impl JsonSchema for AppData[src]

Auto Trait Implementations

impl RefUnwindSafe for AppData

impl Send for AppData

impl Sync for AppData

impl Unpin for AppData

impl UnwindSafe for AppData

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.