pub struct Decision {
pub step: String,
pub asked: String,
pub answer: String,
pub by: Option<String>,
}Expand description
A question the person decided.
Fields§
§step: StringThe step it was about.
asked: StringWhat they were asked.
answer: StringWhat they answered: yes, no, the option they chose, or none.
by: Option<String>Who answered, when someone answered from elsewhere and said who they are.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Decision
impl<'de> Deserialize<'de> for Decision
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
Auto Trait Implementations§
impl Forget for Decision
impl Freeze for Decision
impl Move for Decision
impl RefUnwindSafe for Decision
impl Send for Decisionwhere
RawVecInner: Send,
impl Sync for Decisionwhere
RawVecInner: Sync,
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decisionwhere
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