pub struct UpdateOptions {
pub component: Option<String>,
pub yes: bool,
pub dry_run: bool,
pub no_verify: bool,
}Expand description
Опции команды light update.
Fields§
§component: Option<String>Обновить только этот компонент.
yes: boolНе задавать вопросов.
dry_run: boolТолько показать план.
no_verify: boolНе запускать cargo check.
Trait Implementations§
Source§impl Clone for UpdateOptions
impl Clone for UpdateOptions
Source§impl Debug for UpdateOptions
impl Debug for UpdateOptions
Auto Trait Implementations§
impl Freeze for UpdateOptions
impl RefUnwindSafe for UpdateOptions
impl Send for UpdateOptions
impl Sync for UpdateOptions
impl Unpin for UpdateOptions
impl UnsafeUnpin for UpdateOptions
impl UnwindSafe for UpdateOptions
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