pub struct ImportUpdate {
pub from: Version,
pub to: Version,
pub diff: Diff,
pub upstream_from: Option<String>,
pub upstream_to: Option<String>,
}Expand description
What updating an imported package changes (compare_import)
Fields§
§from: Version§to: Version§diff: DiffIts verses’ changes (reworded, added, removed, renumbered), and its titles’
upstream_from: Option<String>The publisher’s versions before and after ([package.upstream] version), as given
upstream_to: Option<String>Trait Implementations§
Source§impl Clone for ImportUpdate
impl Clone for ImportUpdate
Auto Trait Implementations§
impl Freeze for ImportUpdate
impl RefUnwindSafe for ImportUpdate
impl Send for ImportUpdate
impl Sync for ImportUpdate
impl Unpin for ImportUpdate
impl UnsafeUnpin for ImportUpdate
impl UnwindSafe for ImportUpdate
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