Struct languageserver_types::Registration [−][src]
pub struct Registration { pub id: String, pub method: String, pub register_options: Option<Value>, }
General parameters to to register for a capability.
Fields
id: String
The id used to register the request. The id can be used to deregister the request again.
method: String
The method / capability to register for.
register_options: Option<Value>
Options necessary for the registration.
Trait Implementations
impl Debug for Registration
[src]
impl Debug for Registration
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Registration
[src]
impl PartialEq for Registration
fn eq(&self, other: &Registration) -> bool
[src]
fn eq(&self, other: &Registration) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Registration) -> bool
[src]
fn ne(&self, other: &Registration) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Registration
impl Send for Registration
impl Sync for Registration
impl Sync for Registration