pub struct NotebookDefaults {
pub dir: PathBuf,
pub runtime_dir: PathBuf,
pub venv_dir: PathBuf,
pub engine_http: SocketAddr,
}Expand description
Data-dir-derived defaults; waratah_bin fills these from
waratah_storage::layout exactly like --ingest-dir / --spill-dir.
Fields§
§dir: PathBufContents-API root ({data_dir}/notebooks, else ./notebooks).
runtime_dir: PathBufSidecar runtime dir: generated config + jupyter runtime files
({data_dir}/notebooks-runtime, else ./notebooks-runtime).
venv_dir: PathBufAuto-provisioned venv root ({data_dir}/notebooks-venv, else
./notebooks-venv).
engine_http: SocketAddrLoopback bind address of THIS compute’s HTTP server.
Trait Implementations§
Source§impl Clone for NotebookDefaults
impl Clone for NotebookDefaults
Source§fn clone(&self) -> NotebookDefaults
fn clone(&self) -> NotebookDefaults
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 NotebookDefaults
impl RefUnwindSafe for NotebookDefaults
impl Send for NotebookDefaults
impl Sync for NotebookDefaults
impl Unpin for NotebookDefaults
impl UnsafeUnpin for NotebookDefaults
impl UnwindSafe for NotebookDefaults
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