pub enum UpdateDepth {
Shallow,
Full,
Force,
}Expand description
How deeply to update
Variants§
Shallow
Only download things if they aren’t there. Don’t update versions of anything.
Full
Check for new versions of things and update to them if the version is not fixed. Otherwise, don’t redownload anything.
Force
Force redownloading all files
Trait Implementations§
Source§impl Clone for UpdateDepth
impl Clone for UpdateDepth
Source§fn clone(&self) -> UpdateDepth
fn clone(&self) -> UpdateDepth
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 UpdateDepth
impl Debug for UpdateDepth
Source§impl Default for UpdateDepth
impl Default for UpdateDepth
Source§fn default() -> UpdateDepth
fn default() -> UpdateDepth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateDepth
impl<'de> Deserialize<'de> for UpdateDepth
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for UpdateDepth
impl Ord for UpdateDepth
Source§fn cmp(&self, other: &UpdateDepth) -> Ordering
fn cmp(&self, other: &UpdateDepth) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UpdateDepth
impl PartialEq for UpdateDepth
Source§impl PartialOrd for UpdateDepth
impl PartialOrd for UpdateDepth
Source§impl Serialize for UpdateDepth
impl Serialize for UpdateDepth
impl Copy for UpdateDepth
impl Eq for UpdateDepth
impl StructuralPartialEq for UpdateDepth
Auto Trait Implementations§
impl Freeze for UpdateDepth
impl RefUnwindSafe for UpdateDepth
impl Send for UpdateDepth
impl Sync for UpdateDepth
impl Unpin for UpdateDepth
impl UnwindSafe for UpdateDepth
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> DefaultExt for T
impl<T> DefaultExt for T
Source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Check if the value is equal to it’s default value