Struct diem_types::block_metadata::NewBlockEvent [−][src]
pub struct NewBlockEvent { /* fields omitted */ }
Implementations
pub fn new(
round: u64,
proposer: AccountAddress,
votes: Vec<AccountAddress>,
timestamp: u64
) -> Self
Trait Implementations
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 RefUnwindSafe for NewBlockEvent
impl Send for NewBlockEvent
impl Sync for NewBlockEvent
impl Unpin for NewBlockEvent
impl UnwindSafe for NewBlockEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Generates a hash used only for tests.