pub struct WitnessQuestion {
pub seat: CouncilSeat,
pub witness: WitnessId,
pub id: Option<WitnessQuestionId>,
pub at: Asked,
}Expand description
Who put a question to a witness in a round, and where it is
Fields§
§seat: CouncilSeat§witness: WitnessId§id: Option<WitnessQuestionId>The question’s id in its batch (0.104). With Asked::Message,
the turn is a WitnessBatch the question shares with others, and the
answer (the turn after it) is one reply to all of them. None on
records made before 0.104: the turn is this one question.
at: AskedTrait Implementations§
Source§impl Clone for WitnessQuestion
impl Clone for WitnessQuestion
Source§impl Debug for WitnessQuestion
impl Debug for WitnessQuestion
Source§impl<'de> Deserialize<'de> for WitnessQuestion
impl<'de> Deserialize<'de> for WitnessQuestion
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 WitnessQuestion
Source§impl PartialEq for WitnessQuestion
impl PartialEq for WitnessQuestion
Source§impl Serialize for WitnessQuestion
impl Serialize for WitnessQuestion
impl StructuralPartialEq for WitnessQuestion
Auto Trait Implementations§
impl Freeze for WitnessQuestion
impl RefUnwindSafe for WitnessQuestion
impl Send for WitnessQuestion
impl Sync for WitnessQuestion
impl Unpin for WitnessQuestion
impl UnsafeUnpin for WitnessQuestion
impl UnwindSafe for WitnessQuestion
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.