pub struct InputObservation(/* private fields */);Expand description
Only checked admission creates positive data; this is never a Skill grant. The caller owns finite current data and supplies its existing run identity.
Implementations§
Source§impl InputObservation
impl InputObservation
pub fn new_inputs(&self) -> Option<&BoundedInputRequestBatch>
pub fn is_successful_no_new_input(&self) -> bool
Sourcepub fn update_current(
self,
current: &mut Option<BoundedInputRequestBatch>,
session_id: &str,
execution_id: &str,
)
pub fn update_current( self, current: &mut Option<BoundedInputRequestBatch>, session_id: &str, execution_id: &str, )
Move a whole new batch, retain only same-run NoNew, or clear on unknown. A new input with no request replaces the old IDs and selections too.
Trait Implementations§
Source§impl Debug for InputObservation
impl Debug for InputObservation
Auto Trait Implementations§
impl Freeze for InputObservation
impl RefUnwindSafe for InputObservation
impl Send for InputObservation
impl Sync for InputObservation
impl Unpin for InputObservation
impl UnsafeUnpin for InputObservation
impl UnwindSafe for InputObservation
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