pub struct ReleaseCliInput {
pub cli_prerelease: HashMap<String, PrereleaseSpec>,
pub global_prerelease: Option<PrereleaseSpec>,
pub cli_graduate: HashSet<String>,
pub graduate_all: bool,
}Expand description
Input from CLI for validation.
Fields§
§cli_prerelease: HashMap<String, PrereleaseSpec>Per-package prerelease from –prerelease crate:tag
global_prerelease: Option<PrereleaseSpec>Global prerelease tag (applies to all packages)
cli_graduate: HashSet<String>Packages to graduate from –graduate crate
graduate_all: boolWhether –graduate was passed without specific crates
Trait Implementations§
Source§impl Clone for ReleaseCliInput
impl Clone for ReleaseCliInput
Source§fn clone(&self) -> ReleaseCliInput
fn clone(&self) -> ReleaseCliInput
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 ReleaseCliInput
impl Debug for ReleaseCliInput
Source§impl Default for ReleaseCliInput
impl Default for ReleaseCliInput
Source§fn default() -> ReleaseCliInput
fn default() -> ReleaseCliInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReleaseCliInput
impl RefUnwindSafe for ReleaseCliInput
impl Send for ReleaseCliInput
impl Sync for ReleaseCliInput
impl Unpin for ReleaseCliInput
impl UnsafeUnpin for ReleaseCliInput
impl UnwindSafe for ReleaseCliInput
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