pub struct PackagesUpdate { /* private fields */ }
Implementations§
Source§impl PackagesUpdate
impl PackagesUpdate
pub fn new(updates: PackagesToUpdate) -> Self
pub fn with_workspace_version(&mut self, workspace_version: Version)
pub fn updates(&self) -> &[(Package, UpdateResult)]
pub fn updates_clone(&self) -> PackagesToUpdate
pub fn updates_mut(&mut self) -> &mut PackagesToUpdate
pub fn workspace_version(&self) -> Option<&Version>
pub fn summary(&self) -> String
pub fn breaking_changes(&self) -> String
Sourcepub fn releases(&self) -> Vec<ReleaseInfo>
pub fn releases(&self) -> Vec<ReleaseInfo>
Return info about releases of the updated packages
Trait Implementations§
Source§impl Clone for PackagesUpdate
impl Clone for PackagesUpdate
Source§fn clone(&self) -> PackagesUpdate
fn clone(&self) -> PackagesUpdate
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 PackagesUpdate
impl Debug for PackagesUpdate
Source§impl Default for PackagesUpdate
impl Default for PackagesUpdate
Source§fn default() -> PackagesUpdate
fn default() -> PackagesUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackagesUpdate
impl RefUnwindSafe for PackagesUpdate
impl Send for PackagesUpdate
impl Sync for PackagesUpdate
impl Unpin for PackagesUpdate
impl UnwindSafe for PackagesUpdate
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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