pub struct CellMetadata {
pub vscode: Option<CodeCellMetadataVSCode>,
pub extra: HashMap<String, Value>,
}Expand description
Cell-level metadata.
Fields§
§vscode: Option<CodeCellMetadataVSCode>VS Code specific cell metadata.
This is Some only if the cell’s preferred language is different from the notebook’s
preferred language.
https://github.com/microsoft/vscode/blob/e6c009a3d4ee60f352212b978934f52c4689fbd9/extensions/ipynb/src/serializers.ts#L117-L122
extra: HashMap<String, Value>For additional properties that isn’t required by Ruff.
Trait Implementations§
Source§impl Clone for CellMetadata
impl Clone for CellMetadata
Source§fn clone(&self) -> CellMetadata
fn clone(&self) -> CellMetadata
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 CellMetadata
impl Debug for CellMetadata
Source§impl Default for CellMetadata
impl Default for CellMetadata
Source§fn default() -> CellMetadata
fn default() -> CellMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CellMetadata
impl<'de> Deserialize<'de> for CellMetadata
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 CellMetadata
impl PartialEq for CellMetadata
Source§impl Serialize for CellMetadata
impl Serialize for CellMetadata
impl StructuralPartialEq for CellMetadata
Auto Trait Implementations§
impl Freeze for CellMetadata
impl RefUnwindSafe for CellMetadata
impl Send for CellMetadata
impl Sync for CellMetadata
impl Unpin for CellMetadata
impl UnsafeUnpin for CellMetadata
impl UnwindSafe for CellMetadata
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