pub struct CanvasSessionContext {
pub working_directory: Option<String>,
}Expand description
Session context supplied by the runtime.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§working_directory: Option<String>Active session working directory, when known.
Trait Implementations§
Source§impl Clone for CanvasSessionContext
impl Clone for CanvasSessionContext
Source§fn clone(&self) -> CanvasSessionContext
fn clone(&self) -> CanvasSessionContext
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 CanvasSessionContext
impl Debug for CanvasSessionContext
Source§impl Default for CanvasSessionContext
impl Default for CanvasSessionContext
Source§fn default() -> CanvasSessionContext
fn default() -> CanvasSessionContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CanvasSessionContext
impl<'de> Deserialize<'de> for CanvasSessionContext
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 CanvasSessionContext
impl RefUnwindSafe for CanvasSessionContext
impl Send for CanvasSessionContext
impl Sync for CanvasSessionContext
impl Unpin for CanvasSessionContext
impl UnsafeUnpin for CanvasSessionContext
impl UnwindSafe for CanvasSessionContext
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