pub struct DecisionState {
pub proposals: BTreeMap<String, Proposal>,
pub evaluations: Vec<Evaluation>,
pub objections: Vec<Objection>,
pub votes: BTreeMap<String, BTreeMap<String, Vote>>,
pub phase: DecisionPhase,
}Fields§
§proposals: BTreeMap<String, Proposal>§evaluations: Vec<Evaluation>§objections: Vec<Objection>§votes: BTreeMap<String, BTreeMap<String, Vote>>§phase: DecisionPhaseTrait Implementations§
Source§impl Clone for DecisionState
impl Clone for DecisionState
Source§fn clone(&self) -> DecisionState
fn clone(&self) -> DecisionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecisionState
impl Debug for DecisionState
Source§impl<'de> Deserialize<'de> for DecisionState
impl<'de> Deserialize<'de> for DecisionState
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
Auto Trait Implementations§
impl Freeze for DecisionState
impl RefUnwindSafe for DecisionState
impl Send for DecisionState
impl Sync for DecisionState
impl Unpin for DecisionState
impl UnsafeUnpin for DecisionState
impl UnwindSafe for DecisionState
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