pub struct Answered {
pub ask_id: AskId,
pub as_of: Seq,
pub outcome: AskOutcome,
}Expand description
The reply to one Ask.
as_of is the first seq the answer does not reflect: the answer holds
every record before it and none from it on. It and the answer are read
under the same view lock, and a view that has folded nothing answers
with Seq::FIRST, so genesis is never mistaken for already folded.
Fields§
§ask_id: AskId§as_of: Seq§outcome: AskOutcomeTrait Implementations§
Source§impl<'de> Deserialize<'de> for Answered
impl<'de> Deserialize<'de> for Answered
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 StructuralPartialEq for Answered
Auto Trait Implementations§
impl Freeze for Answered
impl RefUnwindSafe for Answered
impl Send for Answered
impl Sync for Answered
impl Unpin for Answered
impl UnsafeUnpin for Answered
impl UnwindSafe for Answered
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