pub struct NotebookDocumentCellChanges {
pub structure: Option<NotebookDocumentCellChangeStructure>,
pub data: Option<Vec<NotebookCell>>,
pub text_content: Option<Vec<NotebookDocumentCellContentChanges>>,
}Expand description
Cell changes to a notebook document.
@since 3.18.0
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<NotebookDocumentCellContentChanges>>Changes to the text content of notebook cells.
Implementations§
Source§impl NotebookDocumentCellChanges
impl NotebookDocumentCellChanges
pub const fn new( structure: Option<NotebookDocumentCellChangeStructure>, data: Option<Vec<NotebookCell>>, text_content: Option<Vec<NotebookDocumentCellContentChanges>>, ) -> Self
Trait Implementations§
Source§impl Clone for NotebookDocumentCellChanges
impl Clone for NotebookDocumentCellChanges
Source§fn clone(&self) -> NotebookDocumentCellChanges
fn clone(&self) -> NotebookDocumentCellChanges
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NotebookDocumentCellChanges
impl Debug for NotebookDocumentCellChanges
Source§impl Default for NotebookDocumentCellChanges
impl Default for NotebookDocumentCellChanges
Source§fn default() -> NotebookDocumentCellChanges
fn default() -> NotebookDocumentCellChanges
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotebookDocumentCellChanges
impl<'de> Deserialize<'de> for NotebookDocumentCellChanges
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 NotebookDocumentCellChanges
impl PartialEq for NotebookDocumentCellChanges
Source§fn eq(&self, other: &NotebookDocumentCellChanges) -> bool
fn eq(&self, other: &NotebookDocumentCellChanges) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NotebookDocumentCellChanges
impl StructuralPartialEq for NotebookDocumentCellChanges
Auto Trait Implementations§
impl Freeze for NotebookDocumentCellChanges
impl RefUnwindSafe for NotebookDocumentCellChanges
impl Send for NotebookDocumentCellChanges
impl Sync for NotebookDocumentCellChanges
impl Unpin for NotebookDocumentCellChanges
impl UnsafeUnpin for NotebookDocumentCellChanges
impl UnwindSafe for NotebookDocumentCellChanges
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