pub struct Vote {
pub validator: String,
pub block_hash: Option<String>,
pub signature: String,
pub timestamp: DateTime<Utc>,
}
Expand description
Vote information
Fields§
§validator: String
§block_hash: Option<String>
§signature: String
§timestamp: DateTime<Utc>
Trait Implementations§
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