pub struct ConnArgs {
pub server_url: Option<String>,
pub port: Option<u16>,
pub data_dir: Option<PathBuf>,
}Expand description
Connection options shared by every admin subcommand.
Fields§
§server_url: Option<String>Full base URL override (e.g. http://127.0.0.1:9562). Wins over the rest.
port: Option<u16>Port override (else read from the resolved config).
data_dir: Option<PathBuf>Data dir holding config.json (else ~/.bamboo).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnArgs
impl RefUnwindSafe for ConnArgs
impl Send for ConnArgs
impl Sync for ConnArgs
impl Unpin for ConnArgs
impl UnsafeUnpin for ConnArgs
impl UnwindSafe for ConnArgs
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