pub struct UpdateRequest {
pub product: String,
pub target: UpdateTarget,
pub source: SourceConfig,
pub current_version: String,
pub install_dir: Option<PathBuf>,
pub yes: bool,
pub dry_run: bool,
pub force: bool,
}Fields§
§product: String§target: UpdateTarget§source: SourceConfig§current_version: String§install_dir: Option<PathBuf>§yes: bool§dry_run: bool§force: boolTrait Implementations§
Source§impl Clone for UpdateRequest
impl Clone for UpdateRequest
Source§fn clone(&self) -> UpdateRequest
fn clone(&self) -> UpdateRequest
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 moreAuto Trait Implementations§
impl Freeze for UpdateRequest
impl RefUnwindSafe for UpdateRequest
impl Send for UpdateRequest
impl Sync for UpdateRequest
impl Unpin for UpdateRequest
impl UnsafeUnpin for UpdateRequest
impl UnwindSafe for UpdateRequest
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