pub struct Config {
pub notebook: Option<String>,
pub create_notebook: bool,
pub allow_top_level_notes: bool,
pub disable_git_signing: bool,
}Expand description
Configuration for constructing an NbClient.
Contains only nb-relevant fields. MCP-specific fields
(e.g., show_paths) remain in the server’s config.
Fields§
§notebook: Option<String>Default notebook name (overrides Git-derived fallback).
create_notebook: boolAutomatically create missing notebooks.
allow_top_level_notes: boolAllow new notes to be created at notebook root.
disable_git_signing: boolDisable Git commit and tag signing for nb subprocesses.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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