pub struct Request<'a> {
pub req: &'a str,
pub op: OracleOp,
pub path: Option<&'a str>,
pub scenario: Option<&'a str>,
pub reading: Option<Reading>,
pub text: Option<&'a str>,
}Expand description
What one oracle action is asked.
Fields§
§req: &'a strThe requirement.
op: OracleOpWhat to do.
path: Option<&'a str>The test (reject, again, edit).
scenario: Option<&'a str>The scenario (reading).
reading: Option<Reading>The reading (reading).
text: Option<&'a str>The reason, comment or content.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnsafeUnpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
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