pub struct ExportDependency {
pub name: String,
pub version: Option<String>,
pub origin: String,
}Expand description
One declared dependency from mars.toml.
Fields§
§name: StringLogical name of the dependency (key in [dependencies]).
version: Option<String>Resolved version tag or commit, if known.
origin: StringSource origin kind: “git”, “path”, or “registry”.
Trait Implementations§
Source§impl Debug for ExportDependency
impl Debug for ExportDependency
Auto Trait Implementations§
impl Freeze for ExportDependency
impl RefUnwindSafe for ExportDependency
impl Send for ExportDependency
impl Sync for ExportDependency
impl Unpin for ExportDependency
impl UnsafeUnpin for ExportDependency
impl UnwindSafe for ExportDependency
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more