pub struct JupyterKernelspec {
pub argv: Vec<String>,
pub display_name: String,
pub language: String,
pub metadata: Option<HashMap<String, Value>>,
pub interrupt_mode: Option<String>,
pub env: Option<HashMap<String, String>>,
}
Expand description
Contents of a Jupyter JSON kernelspec file
Fields§
§argv: Vec<String>
argv must contain {connection_file}
to be replaced by the client launching the kernel
For example, ["python3", "-m", "ipykernel_launcher", "-f", "{connection_file}"]
display_name: String
§language: String
§metadata: Option<HashMap<String, Value>>
§interrupt_mode: Option<String>
§env: Option<HashMap<String, String>>
Trait Implementations§
Source§impl Clone for JupyterKernelspec
impl Clone for JupyterKernelspec
Source§fn clone(&self) -> JupyterKernelspec
fn clone(&self) -> JupyterKernelspec
Returns a copy of the value. Read more
1.0.0 · 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 JupyterKernelspec
impl Debug for JupyterKernelspec
Source§impl<'de> Deserialize<'de> for JupyterKernelspec
impl<'de> Deserialize<'de> for JupyterKernelspec
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 JupyterKernelspec
impl RefUnwindSafe for JupyterKernelspec
impl Send for JupyterKernelspec
impl Sync for JupyterKernelspec
impl Unpin for JupyterKernelspec
impl UnwindSafe for JupyterKernelspec
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