pub struct NoWebExtension;Expand description
No-op renderer for agents with no domain-specific web UI.
Trait Implementations§
Source§impl WebExtensionRenderer for NoWebExtension
impl WebExtensionRenderer for NoWebExtension
Source§fn status_fields(&self, ext: &dyn UiExtension) -> Vec<StatusField>
fn status_fields(&self, ext: &dyn UiExtension) -> Vec<StatusField>
Extra status fields to display in the status bar. Read more
Source§fn to_ws_json(&self, ext: &dyn UiExtension) -> Option<Value>
fn to_ws_json(&self, ext: &dyn UiExtension) -> Option<Value>
Serialize the current extension state for WebSocket broadcast. Read more
Source§fn choice_metadata(
&self,
ext: &dyn UiExtension,
choice: &QuestionChoice,
) -> Option<ChoiceMetadata>
fn choice_metadata( &self, ext: &dyn UiExtension, choice: &QuestionChoice, ) -> Option<ChoiceMetadata>
Optional metadata to display alongside each question choice. Read more
Auto Trait Implementations§
impl Freeze for NoWebExtension
impl RefUnwindSafe for NoWebExtension
impl Send for NoWebExtension
impl Sync for NoWebExtension
impl Unpin for NoWebExtension
impl UnsafeUnpin for NoWebExtension
impl UnwindSafe for NoWebExtension
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