pub struct Ask {
pub question: String,
pub people: Vec<String>,
pub choices: Vec<String>,
pub back_to: Vec<String>,
}Expand description
What a person is asked.
Fields§
§question: StringThe question, in words.
people: Vec<String>The named people it is for, any of whom may answer. Empty when it is for the person who asked for the run.
choices: Vec<String>The answers they may give, when the step has choices.
back_to: Vec<String>The earlier steps a refusal may send the work back to, when the proof says.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ask
impl<'de> Deserialize<'de> for Ask
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Ask
impl StructuralPartialEq for Ask
Auto Trait Implementations§
impl Forget for Ask
impl Freeze for Ask
impl Move for Ask
impl RefUnwindSafe for Ask
impl Send for Askwhere
RawVecInner: Send,
impl Sync for Askwhere
RawVecInner: Sync,
impl Unpin for Ask
impl UnsafeUnpin for Askwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Askwhere
RawVecInner: UnwindSafe,
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