pub struct AnswerAction {
pub label: String,
pub doc: String,
pub chosen: bool,
pub does: Does,
}Expand description
A button of an Answer.
Fields§
§label: String§doc: StringWhat it does.
chosen: boolWhether it is what the answer shown was asked with: lit.
does: DoesTrait Implementations§
Source§impl Clone for AnswerAction
impl Clone for AnswerAction
Source§fn clone(&self) -> AnswerAction
fn clone(&self) -> AnswerAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnswerAction
impl Debug for AnswerAction
Source§impl PartialEq for AnswerAction
impl PartialEq for AnswerAction
Source§impl Serialize for AnswerAction
impl Serialize for AnswerAction
impl StructuralPartialEq for AnswerAction
Auto Trait Implementations§
impl Freeze for AnswerAction
impl RefUnwindSafe for AnswerAction
impl Send for AnswerAction
impl Sync for AnswerAction
impl Unpin for AnswerAction
impl UnsafeUnpin for AnswerAction
impl UnwindSafe for AnswerAction
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