pub enum FossilFragment {
    Branch(String),
    Commit(String),
    Tag(String),
}Expand description
The available URL fragments and their values when using the Fossil VCS in a SourceUrl.
Variants§
Branch(String)
A specific branch in the repository.
Commit(String)
A specific commit in the repository.
Tag(String)
A specific tag in the repository.
Implementations§
Source§impl FossilFragment
 
impl FossilFragment
Sourcefn parser(input: &mut &str) -> ModalResult<FossilFragment>
 
fn parser(input: &mut &str) -> ModalResult<FossilFragment>
Recognizes URL fragments and values specific to Fossil VCS.
This parser considers all variants of FossilFragment as fragments in an
alpm-package-source string (including the leading # character).
Trait Implementations§
Source§impl Clone for FossilFragment
 
impl Clone for FossilFragment
Source§fn clone(&self) -> FossilFragment
 
fn clone(&self) -> FossilFragment
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 FossilFragment
 
impl Debug for FossilFragment
Source§impl<'de> Deserialize<'de> for FossilFragment
 
impl<'de> Deserialize<'de> for FossilFragment
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 Display for FossilFragment
 
impl Display for FossilFragment
Source§impl PartialEq for FossilFragment
 
impl PartialEq for FossilFragment
Source§impl Serialize for FossilFragment
 
impl Serialize for FossilFragment
impl Eq for FossilFragment
impl StructuralPartialEq for FossilFragment
Auto Trait Implementations§
impl Freeze for FossilFragment
impl RefUnwindSafe for FossilFragment
impl Send for FossilFragment
impl Sync for FossilFragment
impl Unpin for FossilFragment
impl UnwindSafe for FossilFragment
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