pub struct RunCodeOptions {
pub language: Option<String>,
pub context_id: Option<String>,
}Expand description
Options for code.run.
Fields§
§language: Option<String>Language (defaults server-side to python).
context_id: Option<String>Stateful kernel context id (REPL persistence across calls).
Trait Implementations§
Source§impl Clone for RunCodeOptions
impl Clone for RunCodeOptions
Source§fn clone(&self) -> RunCodeOptions
fn clone(&self) -> RunCodeOptions
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 Default for RunCodeOptions
impl Default for RunCodeOptions
Source§fn default() -> RunCodeOptions
fn default() -> RunCodeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RunCodeOptions
impl RefUnwindSafe for RunCodeOptions
impl Send for RunCodeOptions
impl Sync for RunCodeOptions
impl Unpin for RunCodeOptions
impl UnsafeUnpin for RunCodeOptions
impl UnwindSafe for RunCodeOptions
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