entropic-dev / entropic-dev/eos-spike

Implement Display for Event, thread through "display()" function for Envelope

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

As it says on the tin! Implement `Display` for [`Event`](https://github.com/entropic-dev/eos-spike/blob/ab29b8ac64dac9754416702c0f643f3ce5a62032/src/objects/event.rs#L202) for pretty-printing, and add a new method to [`Envelope`](https://github.com/entropic-dev/eos-spike/blob/ab29b8ac64dac9754416702c0f643f3ce5a62032/src/envelope.rs#L20) to expose that display (or change the [current `Display` impl](https://github.com/entropic-dev/eos-spike/blob/ab29b8ac64dac9754416702c0f643f3ce5a62032/src/envelope.rs#L10), but make sure to change the `self.to_string()` call here if you do!)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.