pub struct Options {
pub source: Source,
pub into: Option<PathBuf>,
pub state: PathBuf,
pub dry_run: bool,
}Expand description
What choir node upgrade was asked to do.
Fields§
§source: SourceWhere from.
into: Option<PathBuf>Where to: the directory the unit’s choir lives in, unless
--into names another.
state: PathBufThe state directory, for the node’s address and credential.
dry_run: boolPrint the plan and do nothing.
Trait Implementations§
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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