pub enum Source {
Environment(&'static str),
ConfigFile(&'static str),
SignedIn {
login: String,
},
GhCli {
login: String,
},
}Expand description
Where a credential came from.
Variants§
Environment(&'static str)
The environment variable.
ConfigFile(&'static str)
The config file key, such as github.token.
SignedIn
An account signed in through Subspace.
GhCli
Trait Implementations§
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Forget for Source
impl Freeze for Source
impl Move for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Sourcewhere
RawVecInner: Sync,
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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