pub struct StatusOutputBuilder { /* private fields */ }Expand description
Builder for StatusOutput.
Implementations§
Source§impl StatusOutputBuilder
impl StatusOutputBuilder
pub fn changesets(&mut self, value: Vec<Changeset>) -> &mut Self
pub fn changeset_files(&mut self, value: Vec<PathBuf>) -> &mut Self
pub fn projected_releases(&mut self, value: Vec<PackageVersion>) -> &mut Self
pub fn bumps_by_package( &mut self, value: IndexMap<String, Vec<BumpType>>, ) -> &mut Self
pub fn none_bump_packages(&mut self, value: Vec<String>) -> &mut Self
pub fn unchanged_packages(&mut self, value: Vec<PackageInfo>) -> &mut Self
pub fn packages_with_inherited_versions( &mut self, value: Vec<String>, ) -> &mut Self
pub fn unknown_packages(&mut self, value: Vec<String>) -> &mut Self
pub fn consumed_prerelease_changesets( &mut self, value: Vec<(PathBuf, String)>, ) -> &mut Self
pub fn uncovered_dependents( &mut self, value: Vec<(String, Vec<String>)>, ) -> &mut Self
Sourcepub fn build(&self) -> Result<StatusOutput, StatusOutputBuilderError>
pub fn build(&self) -> Result<StatusOutput, StatusOutputBuilderError>
Trait Implementations§
Source§impl Clone for StatusOutputBuilder
impl Clone for StatusOutputBuilder
Source§fn clone(&self) -> StatusOutputBuilder
fn clone(&self) -> StatusOutputBuilder
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 moreAuto Trait Implementations§
impl Freeze for StatusOutputBuilder
impl RefUnwindSafe for StatusOutputBuilder
impl Send for StatusOutputBuilder
impl Sync for StatusOutputBuilder
impl Unpin for StatusOutputBuilder
impl UnsafeUnpin for StatusOutputBuilder
impl UnwindSafe for StatusOutputBuilder
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