pub struct CreateTerminalParams {
pub channel: Uri,
pub claim: TerminalClaim,
pub name: Option<String>,
pub cwd: Option<Uri>,
pub cols: Option<i64>,
pub rows: Option<i64>,
}Expand description
Creates a new terminal on the server.
After creation, the client should subscribe to the terminal URI to receive
state updates. The server dispatches root/terminalsChanged to update the
root terminal list.
Fields§
§channel: UriChannel URI this command targets.
claim: TerminalClaimInitial owner of the terminal
name: Option<String>Human-readable terminal name
cwd: Option<Uri>Initial working directory URI
cols: Option<i64>Initial terminal width in columns
rows: Option<i64>Initial terminal height in rows
Trait Implementations§
Source§impl Clone for CreateTerminalParams
impl Clone for CreateTerminalParams
Source§fn clone(&self) -> CreateTerminalParams
fn clone(&self) -> CreateTerminalParams
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 CreateTerminalParams
impl Debug for CreateTerminalParams
Source§impl<'de> Deserialize<'de> for CreateTerminalParams
impl<'de> Deserialize<'de> for CreateTerminalParams
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
Source§impl PartialEq for CreateTerminalParams
impl PartialEq for CreateTerminalParams
Source§fn eq(&self, other: &CreateTerminalParams) -> bool
fn eq(&self, other: &CreateTerminalParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateTerminalParams
impl Serialize for CreateTerminalParams
impl StructuralPartialEq for CreateTerminalParams
Auto Trait Implementations§
impl Freeze for CreateTerminalParams
impl RefUnwindSafe for CreateTerminalParams
impl Send for CreateTerminalParams
impl Sync for CreateTerminalParams
impl Unpin for CreateTerminalParams
impl UnsafeUnpin for CreateTerminalParams
impl UnwindSafe for CreateTerminalParams
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