Struct lsp_types::NotebookDocumentCellChange
source · pub struct NotebookDocumentCellChange {
pub structure: Option<NotebookDocumentCellChangeStructure>,
pub data: Option<Vec<NotebookCell>>,
pub text_content: Option<Vec<NotebookDocumentChangeTextContent>>,
}
Fields§
§structure: Option<NotebookDocumentCellChangeStructure>
Changes to the cell structure to add or remove cells.
data: Option<Vec<NotebookCell>>
Changes to notebook cells properties like its kind, execution summary or metadata.
text_content: Option<Vec<NotebookDocumentChangeTextContent>>
Changes to the text content of notebook cells.
Trait Implementations§
source§impl Clone for NotebookDocumentCellChange
impl Clone for NotebookDocumentCellChange
source§fn clone(&self) -> NotebookDocumentCellChange
fn clone(&self) -> NotebookDocumentCellChange
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 NotebookDocumentCellChange
impl Debug for NotebookDocumentCellChange
source§impl<'de> Deserialize<'de> for NotebookDocumentCellChange
impl<'de> Deserialize<'de> for NotebookDocumentCellChange
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 NotebookDocumentCellChange
impl PartialEq for NotebookDocumentCellChange
source§fn eq(&self, other: &NotebookDocumentCellChange) -> bool
fn eq(&self, other: &NotebookDocumentCellChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NotebookDocumentCellChange
impl StructuralPartialEq for NotebookDocumentCellChange
Auto Trait Implementations§
impl Freeze for NotebookDocumentCellChange
impl !RefUnwindSafe for NotebookDocumentCellChange
impl Send for NotebookDocumentCellChange
impl Sync for NotebookDocumentCellChange
impl Unpin for NotebookDocumentCellChange
impl UnwindSafe for NotebookDocumentCellChange
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