Trait ssr_core::task::UserInteraction
source · pub trait UserInteraction {
// Required method
fn interact(&mut self, items: Vec<InterationItem>) -> Vec<String>;
}
Required Methods§
sourcefn interact(&mut self, items: Vec<InterationItem>) -> Vec<String>
fn interact(&mut self, items: Vec<InterationItem>) -> Vec<String>
§Returns
Vector of all interaction results in the same order
§For implementors
- Text must be displayed without modification.
BlankField
must produce String, that user writes without modification.OneOf
,AnyOf
,Order
must return spaces separated ids(first elems in tuples) in the same order as it’s displayed on the user screen at the end.