pub enum Asked {
Message(u32),
Unanswered(u32),
}Expand description
Where a question is in its witness’s Testimony
For an Agora witness (TestimonyRecord::Exchanges),
Message(i) is the index of the question’s batch in the exchanges.
Variants§
Message(u32)
The index of the question’s user turn in record.messages (its
batch’s, since 0.104), or of its batch’s exchange (0.109)
Unanswered(u32)
The index in unanswered
Trait Implementations§
impl Copy for Asked
Source§impl<'de> Deserialize<'de> for Asked
impl<'de> Deserialize<'de> for Asked
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 Asked
impl StructuralPartialEq for Asked
Auto Trait Implementations§
impl Freeze for Asked
impl RefUnwindSafe for Asked
impl Send for Asked
impl Sync for Asked
impl Unpin for Asked
impl UnsafeUnpin for Asked
impl UnwindSafe for Asked
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.