pub struct AgoraExchange {
pub round: u32,
pub questions: Vec<BatchedQuestion>,
pub sent: Vec<MessageId>,
pub sent_at: DateTime<Utc>,
pub answer: Option<AgoraAnswer>,
pub late: Vec<AgoraAnswer>,
}Expand description
One batch sent to an Agora witness and its answer (0.109)
Fields§
§round: u32§questions: Vec<BatchedQuestion>The batch’s questions, as WitnessBatch::render wrote them into
the DMs
sent: Vec<MessageId>The DMs that carried the batch, in order: one, or the parts of
split_for_dms
sent_at: DateTime<Utc>When the server stored the batch’s last part, by the server’s clock
(the send’s SendMessageResponse::sent_at): the answer is the
witness’s first DM to the Council stored after it, by the same clock
answer: Option<AgoraAnswer>The witness’s answer: absent when none came, and the questions are
then among the testimony’s unanswered
late: Vec<AgoraAnswer>The witness’s other direct messages to the Council stored after the batch (and before its next one), in order: a second message, or one that came after the wait ran out. On the record, never the answer
Trait Implementations§
Source§impl Clone for AgoraExchange
impl Clone for AgoraExchange
Source§impl Debug for AgoraExchange
impl Debug for AgoraExchange
Source§impl<'de> Deserialize<'de> for AgoraExchange
impl<'de> Deserialize<'de> for AgoraExchange
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
Source§impl PartialEq for AgoraExchange
impl PartialEq for AgoraExchange
Source§impl Serialize for AgoraExchange
impl Serialize for AgoraExchange
impl StructuralPartialEq for AgoraExchange
Auto Trait Implementations§
impl Freeze for AgoraExchange
impl RefUnwindSafe for AgoraExchange
impl Send for AgoraExchange
impl Sync for AgoraExchange
impl Unpin for AgoraExchange
impl UnsafeUnpin for AgoraExchange
impl UnwindSafe for AgoraExchange
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