Skip to main content

RootProps

Struct RootProps 

Source
pub struct RootProps {
Show 59 fields pub width: u16, pub height: u16, pub soul_name: String, pub model_label: String, pub gateway_icon: String, pub gateway_label: String, pub gateway_color: Option<Color>, pub messages: Vec<DisplayMessage>, pub scroll_offset: i32, pub command_completions: Vec<String>, pub command_selected: Option<usize>, pub input_value: String, pub on_change: HandlerMut<'static, String>, pub on_submit: HandlerMut<'static, String>, pub input_has_focus: bool, pub task_text: String, pub streaming: bool, pub elapsed: String, pub threads: Vec<ThreadInfo>, pub sidebar_focused: bool, pub sidebar_selected: usize, pub hint: String, pub spinner_tick: usize, pub show_auth_dialog: bool, pub auth_code: String, pub auth_error: String, pub show_tool_approval: bool, pub tool_approval_name: String, pub tool_approval_args: String, pub tool_approval_selected: bool, pub show_vault_unlock: bool, pub vault_password_len: usize, pub vault_error: String, pub show_user_prompt: bool, pub user_prompt_title: String, pub user_prompt_desc: String, pub user_prompt_input: String, pub user_prompt_type: Option<PromptType>, pub user_prompt_selected: usize, pub show_secrets_dialog: bool, pub secrets_data: Vec<SecretInfo>, pub secrets_agent_access: bool, pub secrets_has_totp: bool, pub secrets_selected: Option<usize>, pub secrets_scroll_offset: usize, pub secrets_add_step: u8, pub secrets_add_name: String, pub secrets_add_value: String, pub show_skills_dialog: bool, pub skills_data: Vec<SkillInfo>, pub skills_selected: Option<usize>, pub skills_scroll_offset: usize, pub show_tool_perms_dialog: bool, pub tool_perms_data: Vec<ToolPermInfo>, pub tool_perms_selected: Option<usize>, pub tool_perms_scroll_offset: usize, pub show_hatching: bool, pub hatching_state: HatchState, pub hatching_agent_name: String,
}

Fields§

§width: u16§height: u16§soul_name: String§model_label: String§gateway_icon: String§gateway_label: String§gateway_color: Option<Color>§messages: Vec<DisplayMessage>§scroll_offset: i32§command_completions: Vec<String>§command_selected: Option<usize>§input_value: String§on_change: HandlerMut<'static, String>§on_submit: HandlerMut<'static, String>§input_has_focus: bool§task_text: String§streaming: bool§elapsed: String§threads: Vec<ThreadInfo>§sidebar_focused: bool§sidebar_selected: usize§hint: String§spinner_tick: usize§show_auth_dialog: bool§auth_code: String§auth_error: String§show_tool_approval: bool§tool_approval_name: String§tool_approval_args: String§tool_approval_selected: bool§show_vault_unlock: bool§vault_password_len: usize§vault_error: String§show_user_prompt: bool§user_prompt_title: String§user_prompt_desc: String§user_prompt_input: String§user_prompt_type: Option<PromptType>§user_prompt_selected: usize§show_secrets_dialog: bool§secrets_data: Vec<SecretInfo>§secrets_agent_access: bool§secrets_has_totp: bool§secrets_selected: Option<usize>§secrets_scroll_offset: usize§secrets_add_step: u8§secrets_add_name: String§secrets_add_value: String§show_skills_dialog: bool§skills_data: Vec<SkillInfo>§skills_selected: Option<usize>§skills_scroll_offset: usize§show_tool_perms_dialog: bool§tool_perms_data: Vec<ToolPermInfo>§tool_perms_selected: Option<usize>§tool_perms_scroll_offset: usize§show_hatching: bool§hatching_state: HatchState§hatching_agent_name: String

Trait Implementations§

Source§

impl Default for RootProps

Source§

fn default() -> RootProps

Returns the “default value” for a type. Read more
Source§

impl Props for RootProps

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more