pub struct Ballot {
pub seat: CouncilSeat,
pub sitting_capacity: u32,
pub ranking: Vec<u32>,
}Expand description
One seat’s ballot as aggregated
Fields§
§seat: CouncilSeat§sitting_capacity: u32See SeatRanking
ranking: Vec<u32>See SeatRanking
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ballot
impl<'de> Deserialize<'de> for Ballot
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 Ballot
impl StructuralPartialEq for Ballot
Auto Trait Implementations§
impl Freeze for Ballot
impl RefUnwindSafe for Ballot
impl Send for Ballot
impl Sync for Ballot
impl Unpin for Ballot
impl UnsafeUnpin for Ballot
impl UnwindSafe for Ballot
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