pub enum RepositoryType {
Rust,
Pip,
Maven3,
Raw,
}Variants§
Implementations§
Source§impl RepositoryType
impl RepositoryType
pub fn endpoint_name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RepositoryType
impl Clone for RepositoryType
Source§fn clone(&self) -> RepositoryType
fn clone(&self) -> RepositoryType
Returns a duplicate 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 RepositoryType
impl Debug for RepositoryType
Source§impl<'de> Deserialize<'de> for RepositoryType
impl<'de> Deserialize<'de> for RepositoryType
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 Hash for RepositoryType
impl Hash for RepositoryType
Source§impl PartialEq for RepositoryType
impl PartialEq for RepositoryType
Source§impl Serialize for RepositoryType
impl Serialize for RepositoryType
impl Eq for RepositoryType
impl StructuralPartialEq for RepositoryType
Auto Trait Implementations§
impl Freeze for RepositoryType
impl RefUnwindSafe for RepositoryType
impl Send for RepositoryType
impl Sync for RepositoryType
impl Unpin for RepositoryType
impl UnwindSafe for RepositoryType
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