pub enum SeatQuestions {
Addressed(Vec<Redactable<Question>>),
Legacy(Vec<Redactable<String>>),
}Expand description
The questions in a seat’s submission (0.104). Untagged, so a record
signed before 0.104 (a list of strings) reads and writes back byte for
byte. Addressed is tried first: an empty list, or one whose every
question was redacted, reads as it and writes back the same.
Variants§
Addressed(Vec<Redactable<Question>>)
Each question with who it is for (0.104)
Legacy(Vec<Redactable<String>>)
Before 0.104: questions to the other seats or the Steward
Implementations§
Trait Implementations§
Source§impl Clone for SeatQuestions
impl Clone for SeatQuestions
Source§impl Debug for SeatQuestions
impl Debug for SeatQuestions
Source§impl Default for SeatQuestions
impl Default for SeatQuestions
Source§impl<'de> Deserialize<'de> for SeatQuestions
impl<'de> Deserialize<'de> for SeatQuestions
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 SeatQuestions
impl PartialEq for SeatQuestions
Source§impl Serialize for SeatQuestions
impl Serialize for SeatQuestions
impl StructuralPartialEq for SeatQuestions
Auto Trait Implementations§
impl Freeze for SeatQuestions
impl RefUnwindSafe for SeatQuestions
impl Send for SeatQuestions
impl Sync for SeatQuestions
impl Unpin for SeatQuestions
impl UnsafeUnpin for SeatQuestions
impl UnwindSafe for SeatQuestions
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