pub enum InstallSource {
OnDemand,
ScheduledTask,
}
Expand description
Enum of the possible reasons that this update request was initiated.
Variants§
OnDemand
This update check was triggered “on demand”, by a user.
ScheduledTask
This update check was triggered as part of a background task, unattended by a user.
Trait Implementations§
Source§impl Clone for InstallSource
impl Clone for InstallSource
Source§fn clone(&self) -> InstallSource
fn clone(&self) -> InstallSource
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 InstallSource
impl Debug for InstallSource
Source§impl Default for InstallSource
impl Default for InstallSource
Source§fn default() -> InstallSource
fn default() -> InstallSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstallSource
impl PartialEq for InstallSource
Source§impl Serialize for InstallSource
impl Serialize for InstallSource
impl Copy for InstallSource
impl Eq for InstallSource
impl StructuralPartialEq for InstallSource
Auto Trait Implementations§
impl Freeze for InstallSource
impl RefUnwindSafe for InstallSource
impl Send for InstallSource
impl Sync for InstallSource
impl Unpin for InstallSource
impl UnwindSafe for InstallSource
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)