pub struct WorkspaceFolderParams {}Implementations§
Source§impl WorkspaceFolderParams
impl WorkspaceFolderParams
Sourcepub fn ret(result: Vec<WorkspaceFolder>) -> Vec<WorkspaceFolder>
pub fn ret(result: Vec<WorkspaceFolder>) -> Vec<WorkspaceFolder>
helper function for user do not need to remember result type of a request
Trait Implementations§
Source§impl Clone for WorkspaceFolderParams
impl Clone for WorkspaceFolderParams
Source§fn clone(&self) -> WorkspaceFolderParams
fn clone(&self) -> WorkspaceFolderParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkspaceFolderParams
impl Debug for WorkspaceFolderParams
Source§impl Default for WorkspaceFolderParams
impl Default for WorkspaceFolderParams
Source§fn default() -> WorkspaceFolderParams
fn default() -> WorkspaceFolderParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceFolderParams
impl<'de> Deserialize<'de> for WorkspaceFolderParams
Source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromReq for WorkspaceFolderParams
impl FromReq for WorkspaceFolderParams
const METHOD: &'static str = "workspace/workspaceFolders"
type Ret = Vec<WorkspaceFolder>
Source§fn from_req(req: RequestMessage) -> OneOf<(ReqId, Self), RequestMessage>
fn from_req(req: RequestMessage) -> OneOf<(ReqId, Self), RequestMessage>
perform message cast from raw request message
if method do not match, return
OneOf::Other(request)Source§fn can_cast(req: &RequestMessage) -> bool
fn can_cast(req: &RequestMessage) -> bool
helper function to test method match or not
Source§impl PartialEq for WorkspaceFolderParams
impl PartialEq for WorkspaceFolderParams
Source§impl Serialize for WorkspaceFolderParams
impl Serialize for WorkspaceFolderParams
impl StructuralPartialEq for WorkspaceFolderParams
Auto Trait Implementations§
impl Freeze for WorkspaceFolderParams
impl RefUnwindSafe for WorkspaceFolderParams
impl Send for WorkspaceFolderParams
impl Sync for WorkspaceFolderParams
impl Unpin for WorkspaceFolderParams
impl UnwindSafe for WorkspaceFolderParams
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