pub struct PoolVotes {
pub proposal_id: String,
pub proposal_tx_hash: String,
pub proposal_index: u64,
pub vote_tx_hash: String,
pub block_time: u64,
pub vote: Vote,
pub meta_url: Option<String>,
pub meta_hash: Option<String>,
}Fields§
§proposal_id: String§proposal_tx_hash: String§proposal_index: u64§vote_tx_hash: String§block_time: u64§vote: Vote§meta_url: Option<String>§meta_hash: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PoolVotes
impl<'de> Deserialize<'de> for PoolVotes
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 PoolVotes
impl RefUnwindSafe for PoolVotes
impl Send for PoolVotes
impl Sync for PoolVotes
impl Unpin for PoolVotes
impl UnwindSafe for PoolVotes
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