pub struct ServeOptions {
pub name: Option<String>,
pub read_only: Vec<String>,
}Expand description
How Home::serve_mcp makes a workspace over a source.
Fields§
§name: Option<String>The new workspace’s name; by default the source’s last component.
read_only: Vec<String>Read-only paths, as for MountOptions::read_only.
Trait Implementations§
Source§impl Clone for ServeOptions
impl Clone for ServeOptions
Source§impl Debug for ServeOptions
impl Debug for ServeOptions
Auto Trait Implementations§
impl Freeze for ServeOptions
impl RefUnwindSafe for ServeOptions
impl Send for ServeOptions
impl Sync for ServeOptions
impl Unpin for ServeOptions
impl UnsafeUnpin for ServeOptions
impl UnwindSafe for ServeOptions
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