pub struct WorkbenchSession {
pub id: String,
pub label: String,
pub workspace: String,
pub live: bool,
pub state: AgentState,
pub detail: Option<String>,
}Expand description
One SCV session the workbench knows: a live daemon session, the workbench’s own host for jobs the owner starts, or one that ended.
Fields§
§id: StringThe session ID.
label: StringWho it serves, such as TUI, WeChat, scv exec, or workbench.
workspace: StringIts workspace directory.
live: boolWhether it still runs in a process of this instance.
state: AgentStateWhat it is doing, when it is live.
detail: Option<String>SCV’s words for that state, such as which approval it waits for.
Trait Implementations§
Source§impl Clone for WorkbenchSession
impl Clone for WorkbenchSession
Source§impl Debug for WorkbenchSession
impl Debug for WorkbenchSession
Source§impl<'de> Deserialize<'de> for WorkbenchSession
impl<'de> Deserialize<'de> for WorkbenchSession
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
impl Eq for WorkbenchSession
Source§impl PartialEq for WorkbenchSession
impl PartialEq for WorkbenchSession
Source§impl Serialize for WorkbenchSession
impl Serialize for WorkbenchSession
impl StructuralPartialEq for WorkbenchSession
Auto Trait Implementations§
impl Freeze for WorkbenchSession
impl RefUnwindSafe for WorkbenchSession
impl Send for WorkbenchSession
impl Sync for WorkbenchSession
impl Unpin for WorkbenchSession
impl UnsafeUnpin for WorkbenchSession
impl UnwindSafe for WorkbenchSession
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