pub struct InitReport {
pub config: PathBuf,
pub dotenv: PathBuf,
pub dotenv_written: bool,
}Expand description
What config init did, so the caller can report it without re-deriving paths.
Fields§
§config: PathBuf§dotenv: PathBuf§dotenv_written: boolFalse when a .env was already there: an existing file holds secrets and is never
overwritten, not even by --force.
Trait Implementations§
Source§impl Clone for InitReport
impl Clone for InitReport
Source§impl Debug for InitReport
impl Debug for InitReport
impl Eq for InitReport
Source§impl PartialEq for InitReport
impl PartialEq for InitReport
impl StructuralPartialEq for InitReport
Auto Trait Implementations§
impl Forget for InitReport
impl Freeze for InitReport
impl Move for InitReport
impl RefUnwindSafe for InitReport
impl Send for InitReportwhere
RawVecInner: Send,
impl Sync for InitReportwhere
RawVecInner: Sync,
impl Unpin for InitReport
impl UnsafeUnpin for InitReport
impl UnwindSafe for InitReportwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.