pub struct LaunchTerminalSessionParams<'a> {
pub model_id: &'a str,
pub execution_location: ExecutionLocationProvider<'a>,
pub options: Option<TerminalOptions<'a>>,
pub subscribe_to_events: Option<bool>,
}Fields§
§model_id: &'a strThe model’s id.
execution_location: ExecutionLocationProvider<'a>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 duplicate 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