Struct lsp_types::DidOpenNotebookDocumentParams
source · pub struct DidOpenNotebookDocumentParams {
pub notebook_document: NotebookDocument,
pub cell_text_documents: Vec<TextDocumentItem>,
}
Expand description
The params sent in an open notebook document notification.
@since 3.17.0
Fields§
§notebook_document: NotebookDocument
The notebook document that got opened.
cell_text_documents: Vec<TextDocumentItem>
The text documents that represent the content of a notebook cell.
Trait Implementations§
source§impl Clone for DidOpenNotebookDocumentParams
impl Clone for DidOpenNotebookDocumentParams
source§fn clone(&self) -> DidOpenNotebookDocumentParams
fn clone(&self) -> DidOpenNotebookDocumentParams
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 moresource§impl<'de> Deserialize<'de> for DidOpenNotebookDocumentParams
impl<'de> Deserialize<'de> for DidOpenNotebookDocumentParams
source§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
source§impl PartialEq for DidOpenNotebookDocumentParams
impl PartialEq for DidOpenNotebookDocumentParams
source§fn eq(&self, other: &DidOpenNotebookDocumentParams) -> bool
fn eq(&self, other: &DidOpenNotebookDocumentParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DidOpenNotebookDocumentParams
impl StructuralPartialEq for DidOpenNotebookDocumentParams
Auto Trait Implementations§
impl !Freeze for DidOpenNotebookDocumentParams
impl !RefUnwindSafe for DidOpenNotebookDocumentParams
impl Send for DidOpenNotebookDocumentParams
impl Sync for DidOpenNotebookDocumentParams
impl Unpin for DidOpenNotebookDocumentParams
impl UnwindSafe for DidOpenNotebookDocumentParams
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