pub enum GhCliAuth {
LocalOnlyInteractive,
AuthToken(ConfigVar<String>),
}Expand description
Auth config for the gh CLI node. Uses [ConfigVar] so that
PartialEq-based config merging works for the ReadVar variant.
Variants§
LocalOnlyInteractive
Prompt user to log-in interactively.
AuthToken(ConfigVar<String>)
Set the value of the GITHUB_TOKEN environment variable.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GhCliAuth
impl<'de> Deserialize<'de> for GhCliAuth
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GhCliAuth
Auto Trait Implementations§
impl Freeze for GhCliAuth
impl RefUnwindSafe for GhCliAuth
impl Send for GhCliAuth
impl Sync for GhCliAuth
impl Unpin for GhCliAuth
impl UnsafeUnpin for GhCliAuth
impl UnwindSafe for GhCliAuth
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