pub struct RuntimeStatus {
pub workspace_root: String,
pub connected: bool,
pub turns_available: bool,
pub mutations_allowed: bool,
pub checks_allowed: bool,
pub approval_authority: Cow<'static, str>,
}Expand description
Runtime status exposed to a paired browser.
Fields§
§workspace_root: StringDisplayed workspace root, never a secret.
connected: boolWhether the bridge has a connected runtime adapter.
turns_available: boolWhether the adapter can submit prompts to an agent runtime.
mutations_allowed: boolWhether mutation requests can be authorized by the runtime.
checks_allowed: boolWhether check requests can be authorized by the runtime.
Human-readable approval authority.
Trait Implementations§
Source§impl Clone for RuntimeStatus
impl Clone for RuntimeStatus
Source§fn clone(&self) -> RuntimeStatus
fn clone(&self) -> RuntimeStatus
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 RuntimeStatus
impl Debug for RuntimeStatus
Auto Trait Implementations§
impl Freeze for RuntimeStatus
impl RefUnwindSafe for RuntimeStatus
impl Send for RuntimeStatus
impl Sync for RuntimeStatus
impl Unpin for RuntimeStatus
impl UnsafeUnpin for RuntimeStatus
impl UnwindSafe for RuntimeStatus
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