#[non_exhaustive]pub struct ExploreStep {
pub stop: String,
pub command: String,
pub kind: StopKind,
pub answer: Value,
pub option_id: Option<String>,
}Expand description
One answer on a path.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stop: StringThe name of the stop point (module.label#id, or module.label:line without an ID).
command: StringThe name of the command it stopped at.
kind: StopKindThe kind of the stop point.
answer: ValueThe answer passed (for a choice, the number in the list given to the host, from 0).
option_id: Option<String>For a choice, the stable ID of the option chosen (if it has one).
Trait Implementations§
Source§impl Clone for ExploreStep
impl Clone for ExploreStep
Source§impl Debug for ExploreStep
impl Debug for ExploreStep
Source§impl PartialEq for ExploreStep
impl PartialEq for ExploreStep
impl StructuralPartialEq for ExploreStep
Auto Trait Implementations§
impl Forget for ExploreStep
impl Freeze for ExploreStep
impl Move for ExploreStep
impl RefUnwindSafe for ExploreStep
impl Send for ExploreStep
impl Sync for ExploreStep
impl Unpin for ExploreStep
impl UnsafeUnpin for ExploreStep
impl UnwindSafe for ExploreStep
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