pub enum ConfigDirSource {
Explicit,
Xdg,
Default,
Legacy,
}Expand description
Which rule picked the directory.
Variants§
Explicit
$ATLASSIAN_CLI_CONFIG_DIR or --config-dir. Never migrated: an explicit
choice is not something to second-guess.
Xdg
$XDG_CONFIG_HOME/atlassian-cli.
Default
~/.config/atlassian-cli, or the platform equivalent on Windows.
Legacy
A legacy directory that still holds our files.
Trait Implementations§
Source§impl Clone for ConfigDirSource
impl Clone for ConfigDirSource
impl Copy for ConfigDirSource
Source§impl Debug for ConfigDirSource
impl Debug for ConfigDirSource
impl Eq for ConfigDirSource
Source§impl PartialEq for ConfigDirSource
impl PartialEq for ConfigDirSource
impl StructuralPartialEq for ConfigDirSource
Auto Trait Implementations§
impl Forget for ConfigDirSource
impl Freeze for ConfigDirSource
impl Move for ConfigDirSource
impl RefUnwindSafe for ConfigDirSource
impl Send for ConfigDirSource
impl Sync for ConfigDirSource
impl Unpin for ConfigDirSource
impl UnsafeUnpin for ConfigDirSource
impl UnwindSafe for ConfigDirSource
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.