pub struct UpgradeRequest {
pub version: String,
pub target: UpgradeTarget,
pub confirmed: bool,
}Expand description
A parsed UPGRADE_PREFIX line: upgrade to version through target.
Fields§
§version: String§target: UpgradeTarget§confirmed: boolsrv says the restart is already decided (confirmed:1): a person’s own click or turn, or an approved
request whose in-app countdown ran out with no veto. The launcher then asks nothing more.
Trait Implementations§
Source§impl Clone for UpgradeRequest
impl Clone for UpgradeRequest
Source§fn clone(&self) -> UpgradeRequest
fn clone(&self) -> UpgradeRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpgradeRequest
impl Debug for UpgradeRequest
impl Eq for UpgradeRequest
Source§impl PartialEq for UpgradeRequest
impl PartialEq for UpgradeRequest
impl StructuralPartialEq for UpgradeRequest
Auto Trait Implementations§
impl Freeze for UpgradeRequest
impl RefUnwindSafe for UpgradeRequest
impl Send for UpgradeRequest
impl Sync for UpgradeRequest
impl Unpin for UpgradeRequest
impl UnsafeUnpin for UpgradeRequest
impl UnwindSafe for UpgradeRequest
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