Struct lsp_types::NotebookDocument
source · pub struct NotebookDocument {
pub uri: Uri,
pub notebook_type: String,
pub version: i32,
pub metadata: Option<LSPObject>,
pub cells: Vec<NotebookCell>,
}
Expand description
A notebook document.
@since 3.17.0
Fields§
§uri: Uri
The notebook document’s URI.
notebook_type: String
The type of the notebook.
version: i32
The version number of this document (it will increase after each change, including undo/redo).
metadata: Option<LSPObject>
Additional metadata stored with the notebook document.
cells: Vec<NotebookCell>
The cells of a notebook.
Trait Implementations§
source§impl Clone for NotebookDocument
impl Clone for NotebookDocument
source§fn clone(&self) -> NotebookDocument
fn clone(&self) -> NotebookDocument
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 NotebookDocument
impl Debug for NotebookDocument
source§impl<'de> Deserialize<'de> for NotebookDocument
impl<'de> Deserialize<'de> for NotebookDocument
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 NotebookDocument
impl PartialEq for NotebookDocument
source§fn eq(&self, other: &NotebookDocument) -> bool
fn eq(&self, other: &NotebookDocument) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NotebookDocument
impl Serialize for NotebookDocument
impl Eq for NotebookDocument
impl StructuralPartialEq for NotebookDocument
Auto Trait Implementations§
impl !Freeze for NotebookDocument
impl !RefUnwindSafe for NotebookDocument
impl Send for NotebookDocument
impl Sync for NotebookDocument
impl Unpin for NotebookDocument
impl UnwindSafe for NotebookDocument
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