Enum db_core::ForgeImplementation
source · pub enum ForgeImplementation {
Gitea,
}
Expand description
Forge type: Gitea, Sourcehut, GitLab, etc. Support is currently only available for Gitea
Variants§
Implementations§
source§impl ForgeImplementation
impl ForgeImplementation
sourcepub const fn to_str(&self) -> &'static str
pub const fn to_str(&self) -> &'static str
Convert ForgeImplementation to str
Trait Implementations§
source§impl Clone for ForgeImplementation
impl Clone for ForgeImplementation
source§fn clone(&self) -> ForgeImplementation
fn clone(&self) -> ForgeImplementation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ForgeImplementation
impl Debug for ForgeImplementation
source§impl<'de> Deserialize<'de> for ForgeImplementation
impl<'de> Deserialize<'de> for ForgeImplementation
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
source§impl FromStr for ForgeImplementation
impl FromStr for ForgeImplementation
source§impl PartialEq<ForgeImplementation> for ForgeImplementation
impl PartialEq<ForgeImplementation> for ForgeImplementation
source§fn eq(&self, other: &ForgeImplementation) -> bool
fn eq(&self, other: &ForgeImplementation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.