pub struct Votes {
pub seats: SeatVotes,
pub steward: StewardVote,
}Expand description
The five votes that decide a voted item, each with the words the Constitution requires of it. See the module docs.
Fields§
§seats: SeatVotes§steward: StewardVoteImplementations§
Source§impl Votes
impl Votes
Sourcepub fn seat(&self, seat: CouncilSeat) -> &SeatVote
pub fn seat(&self, seat: CouncilSeat) -> &SeatVote
One seat’s vote
Sourcepub fn iter(&self) -> impl Iterator<Item = (CouncilMember, Vote<'_>)>
pub fn iter(&self) -> impl Iterator<Item = (CouncilMember, Vote<'_>)>
Every member’s vote, the seats in seating order and the Steward last
Sourcepub fn steward_abstention(&self) -> Option<Abstention>
pub fn steward_abstention(&self) -> Option<Abstention>
The Steward’s abstention with its rationale, when the Steward
abstained: all the record’s abstentions hold. A seat’s abstention
rationale is its statement in the final round, recorded there once;
a second copy would be one more place a lawful redaction has to
find it (Steward, 2026-10-13).
Sourcepub fn veto_rationale(&self) -> Option<&Statement>
pub fn veto_rationale(&self) -> Option<&Statement>
The Steward’s rationale, when the Steward vetoed: the record’s
veto_rationale
Sourcepub fn outcome(&self, category: DecisionCategory) -> DecisionOutcome
pub fn outcome(&self, category: DecisionCategory) -> DecisionOutcome
The outcome under category’s threshold
(FinalVotes::outcome)
Sourcepub fn tally(&self) -> String
pub fn tally(&self) -> String
The record’s vote_tally (FinalVotes::tally)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Votes
impl<'de> Deserialize<'de> for Votes
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 Eq for Votes
Source§impl From<&Votes> for FinalVotes
impl From<&Votes> for FinalVotes
impl StructuralPartialEq for Votes
Auto Trait Implementations§
impl Freeze for Votes
impl RefUnwindSafe for Votes
impl Send for Votes
impl Sync for Votes
impl Unpin for Votes
impl UnsafeUnpin for Votes
impl UnwindSafe for Votes
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.