pub struct Offline {
pub registry: Option<PathBuf>,
pub lock: Option<Lock>,
pub dev: bool,
}Expand description
Where the graph finds registry packages (spec 3.3b §5.4).
Fields§
§registry: Option<PathBuf>$NOVA_HOME/registry. None when $NOVA_HOME cannot be found.
lock: Option<Lock>The lock to use instead of the root’s nova.lock: nova add
checks the lock it would write this way.
dev: boolWhether the root’s [dev-dependencies] are read. Publishing’s
verification reads none (spec 3.3b §6.6).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Offline
impl RefUnwindSafe for Offline
impl Send for Offline
impl Sync for Offline
impl Unpin for Offline
impl UnsafeUnpin for Offline
impl UnwindSafe for Offline
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