pub struct InteractiveRuntimeOptions {
pub theme: Arc<ResolvedTheme>,
pub caps: TerminalCapabilities,
pub size: (u16, u16),
pub viewport_height: u16,
pub quiet: bool,
pub double_escape: DoubleEscapeAction,
pub hardware_cursor: bool,
pub initial_message: Option<String>,
pub initial_images: Vec<ImageContent>,
pub remaining_messages: Vec<String>,
pub migrations: MigrationResult,
}Expand description
Outcome of dispatching one [ViewAction].
Fields§
§theme: Arc<ResolvedTheme>Initial resolved theme (dark / light).
caps: TerminalCapabilitiesTerminal capabilities (sync output, image protocol, hyperlinks, …).
size: (u16, u16)Initial terminal size.
viewport_height: u16Initial inline viewport height.
quiet: boolQuiet mode suppresses the logo header.
double_escape: DoubleEscapeActionDouble-Esc action (“none” / “tree” / “fork”).
hardware_cursor: boolShow hardware cursor (debug / accessibility).
initial_message: Option<String>Initial CLI prompt assembled during bootstrap.
initial_images: Vec<ImageContent>Images attached to the initial CLI prompt.
remaining_messages: Vec<String>Additional CLI prompts dispatched after the initial prompt settles.
migrations: MigrationResultStartup migration results surfaced by the interactive UI.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InteractiveRuntimeOptions
impl RefUnwindSafe for InteractiveRuntimeOptions
impl Send for InteractiveRuntimeOptions
impl Sync for InteractiveRuntimeOptions
impl Unpin for InteractiveRuntimeOptions
impl UnsafeUnpin for InteractiveRuntimeOptions
impl UnwindSafe for InteractiveRuntimeOptions
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.