pub enum ImportPath {
Local {
segments: Vec<Symbol>,
sha: Option<String>,
},
Remote {
url: String,
sha: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ImportPath
impl Clone for ImportPath
Source§fn clone(&self) -> ImportPath
fn clone(&self) -> ImportPath
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 ImportPath
impl Debug for ImportPath
Source§impl<'de> Deserialize<'de> for ImportPath
impl<'de> Deserialize<'de> for ImportPath
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 PartialEq for ImportPath
impl PartialEq for ImportPath
Source§impl Serialize for ImportPath
impl Serialize for ImportPath
impl StructuralPartialEq for ImportPath
Auto Trait Implementations§
impl Freeze for ImportPath
impl RefUnwindSafe for ImportPath
impl Send for ImportPath
impl Sync for ImportPath
impl Unpin for ImportPath
impl UnsafeUnpin for ImportPath
impl UnwindSafe for ImportPath
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