pub enum SourceSpec {
Local {
sha256: String,
},
Gh {
owner: String,
repo: String,
ref: String,
path: String,
},
Gl {
project: String,
ref: String,
path: String,
},
Git {
remote: String,
ref: String,
path: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for SourceSpec
impl Clone for SourceSpec
Source§fn clone(&self) -> SourceSpec
fn clone(&self) -> SourceSpec
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 SourceSpec
impl Debug for SourceSpec
Source§impl PartialEq for SourceSpec
impl PartialEq for SourceSpec
impl Eq for SourceSpec
impl StructuralPartialEq for SourceSpec
Auto Trait Implementations§
impl Freeze for SourceSpec
impl RefUnwindSafe for SourceSpec
impl Send for SourceSpec
impl Sync for SourceSpec
impl Unpin for SourceSpec
impl UnsafeUnpin for SourceSpec
impl UnwindSafe for SourceSpec
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