Struct decthings_api::rpc::terminal::LaunchTerminalSessionParams
source · pub struct LaunchTerminalSessionParams<'a> {
pub model_id: &'a str,
pub execution_location: ExecutionLocation,
pub options: Option<TerminalOptions<'a>>,
pub subscribe_to_events: Option<bool>,
}
Fields§
§model_id: &'a str
The model’s id.
execution_location: ExecutionLocation
Which launcher to use for running the command.
options: Option<TerminalOptions<'a>>
§subscribe_to_events: Option<bool>
If true, immediately subscribes you to events “data” and “exit” for the terminal. Default: true.
Trait Implementations§
source§impl<'a> Clone for LaunchTerminalSessionParams<'a>
impl<'a> Clone for LaunchTerminalSessionParams<'a>
source§fn clone(&self) -> LaunchTerminalSessionParams<'a>
fn clone(&self) -> LaunchTerminalSessionParams<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for LaunchTerminalSessionParams<'a>
impl<'a> Debug for LaunchTerminalSessionParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for LaunchTerminalSessionParams<'a>
impl<'a> RefUnwindSafe for LaunchTerminalSessionParams<'a>
impl<'a> Send for LaunchTerminalSessionParams<'a>
impl<'a> Sync for LaunchTerminalSessionParams<'a>
impl<'a> Unpin for LaunchTerminalSessionParams<'a>
impl<'a> UnwindSafe for LaunchTerminalSessionParams<'a>
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