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
impl Eq for Vote
impl StructuralPartialEq for Vote
Auto Trait Implementations§
impl Freeze for Vote
impl RefUnwindSafe for Vote
impl Send for Vote
impl Sync for Vote
impl Unpin for Vote
impl UnwindSafe for Vote
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