pub enum UpdatePolicy {
Always,
Ask,
Never,
}
Expand description
What to do when updating a project
Variants§
Always
Update the project to the newest version every time
Ask
Ask whether to update or not
Never
Do not update the repo, default value
Trait Implementations§
Source§impl Clone for UpdatePolicy
impl Clone for UpdatePolicy
Source§fn clone(&self) -> UpdatePolicy
fn clone(&self) -> UpdatePolicy
Returns a copy 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 UpdatePolicy
impl Debug for UpdatePolicy
Source§impl Default for UpdatePolicy
impl Default for UpdatePolicy
Source§fn default() -> UpdatePolicy
fn default() -> UpdatePolicy
Returns the “default value” for a type. Read more
Source§impl Display for UpdatePolicy
impl Display for UpdatePolicy
impl Copy for UpdatePolicy
Auto Trait Implementations§
impl Freeze for UpdatePolicy
impl RefUnwindSafe for UpdatePolicy
impl Send for UpdatePolicy
impl Sync for UpdatePolicy
impl Unpin for UpdatePolicy
impl UnwindSafe for UpdatePolicy
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