pub struct Testimony {
pub record: TestimonyRecord,
pub unanswered: Vec<Unanswered>,
/* private fields */
}Expand description
A witness’s testimony on an item, as attached to the decision
record is what passed between the Council and the witness: for a
witness on a Messages API, the request as last sent with its last reply
appended, every question and answer verbatim, thinking (and its
signatures) included, so it can be sent again as it stands; for an
Agora witness, each batch’s direct messages and the answer (0.109).
Fields§
§record: TestimonyRecord§unanswered: Vec<Unanswered>Questions that got no answer, which record cannot hold
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Testimony
impl<'de> Deserialize<'de> for Testimony
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 Testimony
Auto Trait Implementations§
impl Freeze for Testimony
impl RefUnwindSafe for Testimony
impl Send for Testimony
impl Sync for Testimony
impl Unpin for Testimony
impl UnsafeUnpin for Testimony
impl UnwindSafe for Testimony
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