pub struct CargoManifestDiff {
pub name: Option<String>,
pub version: Option<Version>,
pub edition: Option<RustEdition>,
pub dependencies: Option<BTreeMap<String, Dependency>>,
pub features: Option<BTreeMap<String, FeatureDependencies>>,
}Expand description
A diff of changes to apply to a CargoManifest.
Fields§
§name: Option<String>§version: Option<Version>§edition: Option<RustEdition>§dependencies: Option<BTreeMap<String, Dependency>>§features: Option<BTreeMap<String, FeatureDependencies>>Trait Implementations§
Source§impl Clone for CargoManifestDiff
impl Clone for CargoManifestDiff
Source§fn clone(&self) -> CargoManifestDiff
fn clone(&self) -> CargoManifestDiff
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 CargoManifestDiff
impl Debug for CargoManifestDiff
Source§impl Default for CargoManifestDiff
impl Default for CargoManifestDiff
Source§fn default() -> CargoManifestDiff
fn default() -> CargoManifestDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CargoManifestDiff
impl RefUnwindSafe for CargoManifestDiff
impl Send for CargoManifestDiff
impl Sync for CargoManifestDiff
impl Unpin for CargoManifestDiff
impl UnsafeUnpin for CargoManifestDiff
impl UnwindSafe for CargoManifestDiff
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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