pub struct LockedDependency {
pub url: Option<String>,
pub path: Option<String>,
pub subpath: Option<SourceSubpath>,
pub version: Option<String>,
pub commit: Option<String>,
pub plugin: Option<String>,
pub content: Option<LockedContent>,
}Expand description
One [dependencies.<name>] row of mars.lock: where a dependency came from and the commit it
was resolved to. The serialized form is the lock file’s, so a field is added only with a
default and never reordered.
Fields§
§url: Option<String>§path: Option<String>§subpath: Option<SourceSubpath>§version: Option<String>§commit: Option<String>§plugin: Option<String>The marketplace plugin installed from this source. url, version and commit above
are then the marketplace’s own.
content: Option<LockedContent>Where plugin’s files came from.
Trait Implementations§
Source§impl Clone for LockedDependency
impl Clone for LockedDependency
Source§impl Debug for LockedDependency
impl Debug for LockedDependency
Source§impl<'de> Deserialize<'de> for LockedDependency
impl<'de> Deserialize<'de> for LockedDependency
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 LockedDependency
impl PartialEq for LockedDependency
Source§impl Serialize for LockedDependency
impl Serialize for LockedDependency
impl StructuralPartialEq for LockedDependency
Auto Trait Implementations§
impl Forget for LockedDependency
impl Freeze for LockedDependency
impl Move for LockedDependency
impl RefUnwindSafe for LockedDependency
impl Send for LockedDependencywhere
RawVecInner: Send,
impl Sync for LockedDependencywhere
RawVecInner: Sync,
impl Unpin for LockedDependency
impl UnsafeUnpin for LockedDependency
impl UnwindSafe for LockedDependencywhere
RawVecInner: UnwindSafe,
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