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 WillSaveTextDocumentParamsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for WillSaveTextDocumentParams[src]
impl Eq for WillSaveTextDocumentParamsimpl PartialEq for WillSaveTextDocumentParams[src]
impl PartialEq for WillSaveTextDocumentParamsfn eq(&self, other: &WillSaveTextDocumentParams) -> bool[src]
fn eq(&self, other: &WillSaveTextDocumentParams) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for WillSaveTextDocumentParams
impl Send for WillSaveTextDocumentParamsimpl Sync for WillSaveTextDocumentParams
impl Sync for WillSaveTextDocumentParams