pub struct Root {
pub uri: String,
pub name: Option<String>,
}Expand description
A directory the client exposes to the server.
Fields§
§uri: StringA file:// URI.
name: Option<String>A display name.
Trait Implementations§
impl StructuralPartialEq for Root
Auto Trait Implementations§
impl Forget for Root
impl Freeze for Root
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnsafeUnpin for Root
impl UnwindSafe for Root
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