pub enum ForgeKind {
GitHub,
GitLab,
}Expand description
Shared forge family enum reused by persistence and forge adapters.
Variants§
Implementations§
Source§impl ForgeKind
impl ForgeKind
Sourcepub fn display_name(self) -> &'static str
pub fn display_name(self) -> &'static str
Returns the user-facing forge name.
Sourcepub fn auth_login_command(self) -> &'static str
pub fn auth_login_command(self) -> &'static str
Returns the login command users should run to authorize forge access.
Trait Implementations§
impl Copy for ForgeKind
impl Eq for ForgeKind
impl StructuralPartialEq for ForgeKind
Auto Trait Implementations§
impl Freeze for ForgeKind
impl RefUnwindSafe for ForgeKind
impl Send for ForgeKind
impl Sync for ForgeKind
impl Unpin for ForgeKind
impl UnsafeUnpin for ForgeKind
impl UnwindSafe for ForgeKind
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