Struct lsp_types::NotebookDocumentChangeEvent
source · pub struct NotebookDocumentChangeEvent {
pub metadata: Option<LSPObject>,
pub cells: Option<NotebookDocumentCellChange>,
}
Expand description
A change event for a notebook document.
@since 3.17.0
Fields§
§metadata: Option<LSPObject>
The changed meta data if any.
cells: Option<NotebookDocumentCellChange>
Changes to cells
Trait Implementations§
source§impl Clone for NotebookDocumentChangeEvent
impl Clone for NotebookDocumentChangeEvent
source§fn clone(&self) -> NotebookDocumentChangeEvent
fn clone(&self) -> NotebookDocumentChangeEvent
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 Debug for NotebookDocumentChangeEvent
impl Debug for NotebookDocumentChangeEvent
source§impl<'de> Deserialize<'de> for NotebookDocumentChangeEvent
impl<'de> Deserialize<'de> for NotebookDocumentChangeEvent
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 NotebookDocumentChangeEvent
impl PartialEq for NotebookDocumentChangeEvent
source§fn eq(&self, other: &NotebookDocumentChangeEvent) -> bool
fn eq(&self, other: &NotebookDocumentChangeEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NotebookDocumentChangeEvent
impl StructuralPartialEq for NotebookDocumentChangeEvent
Auto Trait Implementations§
impl Freeze for NotebookDocumentChangeEvent
impl !RefUnwindSafe for NotebookDocumentChangeEvent
impl Send for NotebookDocumentChangeEvent
impl Sync for NotebookDocumentChangeEvent
impl Unpin for NotebookDocumentChangeEvent
impl UnwindSafe for NotebookDocumentChangeEvent
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