pub struct ListRootsRequest {
pub method: RootsListMethod,
pub params: Option<ListRootsRequestParams>,
}Deprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
Expand description
Sent from the server to request a list of root URIs from the client. Roots allow servers to ask for specific directories or files to operate on. A common example for roots is providing a set of repositories or directories a server should operate on.
This request is typically used when the server needs to understand the file system structure or access specific locations that the client has permission to read from.
Fieldsยง
ยงmethod: RootsListMethodDeprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
params: Option<ListRootsRequestParams>Deprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
Trait Implementationsยง
Sourceยงimpl Clone for ListRootsRequest
impl Clone for ListRootsRequest
Sourceยงfn clone(&self) -> ListRootsRequest
fn clone(&self) -> ListRootsRequest
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more