Struct lsp_types::NotebookCell
source · pub struct NotebookCell {
pub kind: NotebookCellKind,
pub document: Uri,
pub metadata: Option<LSPObject>,
pub execution_summary: Option<ExecutionSummary>,
}
Expand description
A notebook cell.
A cell’s document URI must be unique across ALL notebook cells and can therefore be used to uniquely identify a notebook cell or the cell’s text document.
@since 3.17.0
Fields§
§kind: NotebookCellKind
The cell’s kind
document: Uri
The URI of the cell’s text document content.
metadata: Option<LSPObject>
Additional metadata stored with the cell.
execution_summary: Option<ExecutionSummary>
Additional execution summary information if supported by the client.
Trait Implementations§
source§impl Clone for NotebookCell
impl Clone for NotebookCell
source§fn clone(&self) -> NotebookCell
fn clone(&self) -> NotebookCell
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 NotebookCell
impl Debug for NotebookCell
source§impl<'de> Deserialize<'de> for NotebookCell
impl<'de> Deserialize<'de> for NotebookCell
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 NotebookCell
impl PartialEq for NotebookCell
source§fn eq(&self, other: &NotebookCell) -> bool
fn eq(&self, other: &NotebookCell) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NotebookCell
impl Serialize for NotebookCell
impl Eq for NotebookCell
impl StructuralPartialEq for NotebookCell
Auto Trait Implementations§
impl !Freeze for NotebookCell
impl !RefUnwindSafe for NotebookCell
impl Send for NotebookCell
impl Sync for NotebookCell
impl Unpin for NotebookCell
impl UnwindSafe for NotebookCell
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