Struct solana_program::vote::state::Vote
source · pub struct Vote {
pub slots: Vec<Slot>,
pub hash: Hash,
pub timestamp: Option<UnixTimestamp>,
}
Fields§
§slots: Vec<Slot>
A stack of votes starting with the oldest vote
hash: Hash
signature of the bank’s state at the last slot
timestamp: Option<UnixTimestamp>
processing timestamp of last slot
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Vote
impl<'de> Deserialize<'de> for Vote
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