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

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.