pub struct Candidate {
pub id: u32,
pub idea: Idea,
pub proposers: Vec<String>,
pub parent: Option<u32>,
pub objection: Option<(String, String)>,
pub defence: Option<String>,
pub standing: Standing,
pub rank_sum: u32,
}Expand description
One idea, with everything the rounds said about it.
Fields§
§id: u32The number the agents see. Stable for the whole session, so a ruling from any round matches back.
idea: Idea§proposers: Vec<String>Who proposed it. Two names when both reached it independently.
parent: Option<u32>The idea this was built on, when a cross round produced it.
objection: Option<(String, String)>Who objected, and what they said.
defence: Option<String>What the proposer said back, when it stood by the idea.
standing: Standing§rank_sum: u32The sum of its positions in the final rankings, lower first.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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