pub struct CreateSessionResult {
pub session_id: SessionId,
pub workspace_path: Option<PathBuf>,
pub remote_url: Option<String>,
pub capabilities: Option<SessionCapabilities>,
}Expand description
Response from session.create.
Fields§
§session_id: SessionIdThe CLI-assigned session ID.
workspace_path: Option<PathBuf>Workspace directory for the session (infinite sessions).
remote_url: Option<String>Remote session URL, if the session is running remotely.
capabilities: Option<SessionCapabilities>Capabilities negotiated with the CLI for this session.
Trait Implementations§
Source§impl Clone for CreateSessionResult
impl Clone for CreateSessionResult
Source§fn clone(&self) -> CreateSessionResult
fn clone(&self) -> CreateSessionResult
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 CreateSessionResult
impl Debug for CreateSessionResult
Source§impl<'de> Deserialize<'de> for CreateSessionResult
impl<'de> Deserialize<'de> for CreateSessionResult
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 CreateSessionResult
impl RefUnwindSafe for CreateSessionResult
impl Send for CreateSessionResult
impl Sync for CreateSessionResult
impl Unpin for CreateSessionResult
impl UnsafeUnpin for CreateSessionResult
impl UnwindSafe for CreateSessionResult
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