Struct lsp2::ExecuteCommandParams
pub struct ExecuteCommandParams {
pub command: String,
pub arguments: Vec<Value, Global>,
pub work_done_progress_params: WorkDoneProgressParams,
}
Fields§
§command: String
The identifier of the actual command handler.
arguments: Vec<Value, Global>
Arguments that the command should be invoked with.
work_done_progress_params: WorkDoneProgressParams
Trait Implementations§
§impl Clone for ExecuteCommandParams
impl Clone for ExecuteCommandParams
§fn clone(&self) -> ExecuteCommandParams
fn clone(&self) -> ExecuteCommandParams
Returns a copy 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 more§impl Debug for ExecuteCommandParams
impl Debug for ExecuteCommandParams
§impl Default for ExecuteCommandParams
impl Default for ExecuteCommandParams
§fn default() -> ExecuteCommandParams
fn default() -> ExecuteCommandParams
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ExecuteCommandParams
impl<'de> Deserialize<'de> for ExecuteCommandParams
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ExecuteCommandParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ExecuteCommandParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<ExecuteCommandParams> for ExecuteCommandParams
impl PartialEq<ExecuteCommandParams> for ExecuteCommandParams
§fn eq(&self, other: &ExecuteCommandParams) -> bool
fn eq(&self, other: &ExecuteCommandParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for ExecuteCommandParams
impl Serialize for ExecuteCommandParams
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExecuteCommandParams
Auto Trait Implementations§
impl RefUnwindSafe for ExecuteCommandParams
impl Send for ExecuteCommandParams
impl Sync for ExecuteCommandParams
impl Unpin for ExecuteCommandParams
impl UnwindSafe for ExecuteCommandParams
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