pub struct LanguageInfo {
pub name: String,
pub version: String,
pub mimetype: String,
pub file_extension: String,
pub pygments_lexer: String,
pub codemirror_mode: Value,
pub nbconvert_exporter: String,
}
Expand description
Information about the language of code for the kernel.
Fields§
§name: String
Name of the programming language the kernel implements.
version: String
The language version number.
mimetype: String
Mimetype for script files in this language.
file_extension: String
Extension including the dot e.g. ‘.py’
pygments_lexer: String
Pygments lexer for highlighting.
codemirror_mode: Value
Codemirror mode, for highlighting in the notebook.
nbconvert_exporter: String
If notebooks written with this kernel should be exported with something other than the general ‘script’ exporter.
Trait Implementations§
Source§impl Debug for LanguageInfo
impl Debug for LanguageInfo
Source§impl<'de> Deserialize<'de> for LanguageInfo
impl<'de> Deserialize<'de> for LanguageInfo
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
Auto Trait Implementations§
impl Freeze for LanguageInfo
impl RefUnwindSafe for LanguageInfo
impl Send for LanguageInfo
impl Sync for LanguageInfo
impl Unpin for LanguageInfo
impl UnwindSafe for LanguageInfo
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