pub struct DrepVotesInner {
pub tx_hash: String,
pub cert_index: i32,
pub proposal_id: String,
pub proposal_tx_hash: String,
pub proposal_cert_index: i32,
pub vote: Vote,
}Fields§
§tx_hash: StringHash of the vote transaction.
cert_index: i32Index of the certificate within the vote transaction.
proposal_id: StringGovernance Action Identifier (CIP-0129) of the proposal being voted on.
proposal_tx_hash: StringHash of the proposal transaction.
proposal_cert_index: i32Index of the certificate within the proposal transaction.
vote: VoteThe Vote. Can be one of yes, no, abstain.
Implementations§
Trait Implementations§
Source§impl Clone for DrepVotesInner
impl Clone for DrepVotesInner
Source§fn clone(&self) -> DrepVotesInner
fn clone(&self) -> DrepVotesInner
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 DrepVotesInner
impl Debug for DrepVotesInner
Source§impl Default for DrepVotesInner
impl Default for DrepVotesInner
Source§fn default() -> DrepVotesInner
fn default() -> DrepVotesInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DrepVotesInner
impl<'de> Deserialize<'de> for DrepVotesInner
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 DrepVotesInner
impl PartialEq for DrepVotesInner
Source§impl Serialize for DrepVotesInner
impl Serialize for DrepVotesInner
impl StructuralPartialEq for DrepVotesInner
Auto Trait Implementations§
impl Freeze for DrepVotesInner
impl RefUnwindSafe for DrepVotesInner
impl Send for DrepVotesInner
impl Sync for DrepVotesInner
impl Unpin for DrepVotesInner
impl UnwindSafe for DrepVotesInner
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