Struct languageserver_types::WillSaveTextDocumentParams [−][src]
pub struct WillSaveTextDocumentParams { pub text_document: TextDocumentIdentifier, pub reason: TextDocumentSaveReason, }
The parameters send in a will save text document notification.
Fields
text_document: TextDocumentIdentifier
The document that will be saved.
reason: TextDocumentSaveReason
The 'TextDocumentSaveReason'.
Trait Implementations
impl Debug for WillSaveTextDocumentParams
[src]
impl Debug for WillSaveTextDocumentParams
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 Eq for WillSaveTextDocumentParams
[src]
impl Eq for WillSaveTextDocumentParams
impl PartialEq for WillSaveTextDocumentParams
[src]
impl PartialEq for WillSaveTextDocumentParams
fn eq(&self, other: &WillSaveTextDocumentParams) -> bool
[src]
fn eq(&self, other: &WillSaveTextDocumentParams) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &WillSaveTextDocumentParams) -> bool
[src]
fn ne(&self, other: &WillSaveTextDocumentParams) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for WillSaveTextDocumentParams
impl Send for WillSaveTextDocumentParams
impl Sync for WillSaveTextDocumentParams
impl Sync for WillSaveTextDocumentParams