pub struct VoteSummary {
pub member_id: Option<String>,
pub member_name: Option<String>,
pub vote: Option<String>,
}Expand description
Properties of an individual vote that a member cast for a proposal.
Fields§
§member_id: Option<String>The unique identifier of the member that cast the vote.
member_name: Option<String>The name of the member that cast the vote.
vote: Option<String> The vote value, either YES or NO.
Trait Implementations§
Source§impl Clone for VoteSummary
impl Clone for VoteSummary
Source§fn clone(&self) -> VoteSummary
fn clone(&self) -> VoteSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 VoteSummary
impl Debug for VoteSummary
Source§impl Default for VoteSummary
impl Default for VoteSummary
Source§fn default() -> VoteSummary
fn default() -> VoteSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoteSummary
impl<'de> Deserialize<'de> for VoteSummary
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 VoteSummary
impl PartialEq for VoteSummary
impl StructuralPartialEq for VoteSummary
Auto Trait Implementations§
impl Freeze for VoteSummary
impl RefUnwindSafe for VoteSummary
impl Send for VoteSummary
impl Sync for VoteSummary
impl Unpin for VoteSummary
impl UnwindSafe for VoteSummary
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