pub struct TermRequest {
pub app: String,
pub slot: Option<u32>,
pub instance: Option<String>,
pub session: Option<String>,
pub cols: u16,
pub rows: u16,
}Expand description
What the browser asked for.
Fields§
§app: StringThe app, or empty when instance names the target.
slot: Option<u32>A replica’s slot; None picks one.
instance: Option<String>An instance of the org (a workspace, a sandbox) instead of an app.
session: Option<String>A workspace’s named terminal session (herdr-backed), which outlives
the websocket; None is a plain shell that ends with it.
cols: u16§rows: u16Implementations§
Trait Implementations§
Source§impl Clone for TermRequest
impl Clone for TermRequest
Source§impl Debug for TermRequest
impl Debug for TermRequest
impl Eq for TermRequest
Source§impl PartialEq for TermRequest
impl PartialEq for TermRequest
impl StructuralPartialEq for TermRequest
Auto Trait Implementations§
impl Freeze for TermRequest
impl RefUnwindSafe for TermRequest
impl Send for TermRequest
impl Sync for TermRequest
impl Unpin for TermRequest
impl UnsafeUnpin for TermRequest
impl UnwindSafe for TermRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.