pub enum RefLocation {
PathComponent,
QueryParameter,
None,
}Expand description
Indicates where a ref or rev is stored in a FlakeRef
Variants§
PathComponent
Ref/rev is stored in the path component (e.g., github:owner/repo/ref-or-rev)
QueryParameter
Ref/rev is stored in query parameters (e.g., ?ref=xyz or ?rev=abc)
None
No ref or rev is present
Trait Implementations§
Source§impl Clone for RefLocation
impl Clone for RefLocation
Source§fn clone(&self) -> RefLocation
fn clone(&self) -> RefLocation
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 RefLocation
impl Debug for RefLocation
Source§impl PartialEq for RefLocation
impl PartialEq for RefLocation
impl Copy for RefLocation
impl Eq for RefLocation
impl StructuralPartialEq for RefLocation
Auto Trait Implementations§
impl Freeze for RefLocation
impl RefUnwindSafe for RefLocation
impl Send for RefLocation
impl Sync for RefLocation
impl Unpin for RefLocation
impl UnwindSafe for RefLocation
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