pub struct UpdateCheck {
pub disabled: bool,
pub offer_update_if_same_version: bool,
}
Expand description
This is an update check for the parent App object.
See https://github.com/google/omaha/blob/HEAD/doc/ServerProtocolV3.md#updatecheck-request
Fields§
§disabled: bool
If the update is disabled, the client will not honor an ‘update’ response. The default value of false indicates that the client will attempt an update if instructed that one is available.
offer_update_if_same_version: bool
If true, Omaha will offer an update even if the client is already running the same version.
Implementations§
Source§impl UpdateCheck
impl UpdateCheck
Trait Implementations§
Source§impl Clone for UpdateCheck
impl Clone for UpdateCheck
Source§fn clone(&self) -> UpdateCheck
fn clone(&self) -> UpdateCheck
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 UpdateCheck
impl Debug for UpdateCheck
Source§impl Default for UpdateCheck
impl Default for UpdateCheck
Source§fn default() -> UpdateCheck
fn default() -> UpdateCheck
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateCheck
impl PartialEq for UpdateCheck
Source§impl Serialize for UpdateCheck
impl Serialize for UpdateCheck
impl Eq for UpdateCheck
impl StructuralPartialEq for UpdateCheck
Auto Trait Implementations§
impl Freeze for UpdateCheck
impl RefUnwindSafe for UpdateCheck
impl Send for UpdateCheck
impl Sync for UpdateCheck
impl Unpin for UpdateCheck
impl UnwindSafe for UpdateCheck
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
)