[][src]Struct cargo_create::config::user::UserConfig

pub struct UserConfig<'a> {
    pub defaults: Option<HashMap<&'a str, &'a str>>,
    pub profiles: Option<HashMap<&'a str, &'a str>>,
}

The user configuration file.

Fields

defaults: Option<HashMap<&'a str, &'a str>>

A list of default values that will always be used to populate templates.

profiles: Option<HashMap<&'a str, &'a str>>

Custom profiles that can be used as a shortcut.

Trait Implementations

impl<'a> Debug for UserConfig<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for UserConfig<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for UserConfig<'a>

impl<'a> Send for UserConfig<'a>

impl<'a> Sync for UserConfig<'a>

impl<'a> Unpin for UserConfig<'a>

impl<'a> UnwindSafe for UserConfig<'a>

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.

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