pub enum AskResult {
Answered {
answers: Vec<Vec<String>>,
by: String,
comment: Option<String>,
timed_out: bool,
},
TimedOut {
selected: Option<String>,
by: Option<String>,
comment: Option<String>,
timed_out: bool,
},
Invalidated {
reason: String,
selected: Option<String>,
by: Option<String>,
comment: Option<String>,
timed_out: bool,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AskResult
impl<'de> Deserialize<'de> for AskResult
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 AskResult
impl StructuralPartialEq for AskResult
Auto Trait Implementations§
impl Freeze for AskResult
impl RefUnwindSafe for AskResult
impl Send for AskResult
impl Sync for AskResult
impl Unpin for AskResult
impl UnsafeUnpin for AskResult
impl UnwindSafe for AskResult
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