pub enum UpgradeCommand {
Command(String),
Comment(String),
}Expand description
An upgrade command or a comment (for unavailable Python versions)
Variants§
Trait Implementations§
Source§impl Clone for UpgradeCommand
impl Clone for UpgradeCommand
Source§fn clone(&self) -> UpgradeCommand
fn clone(&self) -> UpgradeCommand
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 UpgradeCommand
impl RefUnwindSafe for UpgradeCommand
impl Send for UpgradeCommand
impl Sync for UpgradeCommand
impl Unpin for UpgradeCommand
impl UnwindSafe for UpgradeCommand
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