pub struct LanguageInfo {
pub codemirror_mode: Option<Value>,
pub file_extension: Option<String>,
pub mimetype: Option<String>,
pub name: String,
pub pygments_lexer: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Language information.
Fields§
§codemirror_mode: Option<Value>The codemirror mode to use for code in this language.
file_extension: Option<String>The file extension for files in this language.
mimetype: Option<String>The mimetype corresponding to files in this language.
name: StringThe programming language which this kernel runs.
pygments_lexer: Option<String>The pygments lexer to use for code in this language.
extra: BTreeMap<String, Value>For additional properties.
Trait Implementations§
Source§impl Clone for LanguageInfo
impl Clone for LanguageInfo
Source§fn clone(&self) -> LanguageInfo
fn clone(&self) -> LanguageInfo
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 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
Source§impl PartialEq for LanguageInfo
impl PartialEq for LanguageInfo
Source§impl Serialize for LanguageInfo
impl Serialize for LanguageInfo
impl StructuralPartialEq for LanguageInfo
Auto Trait Implementations§
impl Freeze for LanguageInfo
impl RefUnwindSafe for LanguageInfo
impl Send for LanguageInfo
impl Sync for LanguageInfo
impl Unpin for LanguageInfo
impl UnsafeUnpin 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