pub struct InboxInteraction {
pub id: InteractionId,
pub from: String,
pub content: InteractionContent,
pub rendered_text: String,
pub handling_mode: HandlingMode,
pub render_metadata: Option<RenderMetadata>,
}Expand description
An interaction drained from the inbox, ready for classification.
Fields§
§id: InteractionIdUnique identifier for this interaction.
from: StringWho sent this interaction (peer name or source label).
content: InteractionContentThe interaction content.
rendered_text: StringPre-rendered text suitable for injection into an LLM session.
handling_mode: HandlingModeRuntime-owned handling hint for ordinary work admitted from plain events.
render_metadata: Option<RenderMetadata>Optional normalized rendering metadata carried alongside the interaction.
Trait Implementations§
Source§impl Clone for InboxInteraction
impl Clone for InboxInteraction
Source§fn clone(&self) -> InboxInteraction
fn clone(&self) -> InboxInteraction
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 moreAuto Trait Implementations§
impl Freeze for InboxInteraction
impl RefUnwindSafe for InboxInteraction
impl Send for InboxInteraction
impl Sync for InboxInteraction
impl Unpin for InboxInteraction
impl UnsafeUnpin for InboxInteraction
impl UnwindSafe for InboxInteraction
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