Struct icgeek_ic_governance::BallotInfo
source · pub struct BallotInfo {
pub vote: i32,
pub proposal_id: Option<NeuronId>,
}
Fields§
§vote: i32
§proposal_id: Option<NeuronId>
Trait Implementations§
source§impl CandidType for BallotInfo
impl CandidType for BallotInfo
source§impl Clone for BallotInfo
impl Clone for BallotInfo
source§fn clone(&self) -> BallotInfo
fn clone(&self) -> BallotInfo
Returns a copy 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 BallotInfo
impl Debug for BallotInfo
source§impl<'de> Deserialize<'de> for BallotInfo
impl<'de> Deserialize<'de> for BallotInfo
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 BallotInfo
impl RefUnwindSafe for BallotInfo
impl Send for BallotInfo
impl Sync for BallotInfo
impl Unpin for BallotInfo
impl UnwindSafe for BallotInfo
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