Struct lsp_types::WillSaveTextDocumentParams [−][src]
pub struct WillSaveTextDocumentParams {
pub text_document: TextDocumentIdentifier,
pub reason: TextDocumentSaveReason,
}
Expand description
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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WillSaveTextDocumentParams
impl Send for WillSaveTextDocumentParams
impl Sync for WillSaveTextDocumentParams
impl Unpin for WillSaveTextDocumentParams
impl UnwindSafe for WillSaveTextDocumentParams
Blanket Implementations
Mutably borrows from an owned value. Read more