[][src]Struct cli::types::EnvFileInfo

pub struct EnvFileInfo {
    pub path: String,
    pub base_path: Option<String>,
    pub profile: Option<String>,

Env file path and attributes


path: String

The file path as string

base_path: Option<String>

The path base directory (relative paths are from this base path)

profile: Option<String>

The profile name this file is relevant to


impl EnvFileInfo[src]

pub fn new(path: String) -> EnvFileInfo[src]

Creates and returns a new instance.

Trait Implementations

impl Clone for EnvFileInfo[src]

impl Debug for EnvFileInfo[src]

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

impl Serialize for EnvFileInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for EnvFileInfo

impl Send for EnvFileInfo

impl Sync for EnvFileInfo

impl Unpin for EnvFileInfo

impl UnwindSafe for EnvFileInfo

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,