pub enum RepositoryType {
Binary,
Source,
}
Expand description
A representation of the repository type, by role of packages it can provide, either Binary
(indicated by deb
) or Source
(indicated by deb-src
).
Variants§
Binary
Repository with binary packages, indicated as deb
Source
Repository with source packages, indicated as deb-src
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 From<&RepositoryType> for String
impl From<&RepositoryType> for String
Source§fn from(value: &RepositoryType) -> Self
fn from(value: &RepositoryType) -> Self
Converts to this type from the input type.
Source§impl FromStr for RepositoryType
impl FromStr for RepositoryType
Source§impl Hash for RepositoryType
impl Hash for RepositoryType
Source§impl PartialEq for RepositoryType
impl PartialEq for RepositoryType
Source§impl ToString for RepositoryType
impl ToString 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