Skip to content

[Incentivized] Add Display implementations for iota-sdk-types #502

@DaughterOfMars

Description

@DaughterOfMars

Summary

Almost all types in the iota-sdk-types crate should have a Display implementation, so that they can be properly printed.

Estimated complexity

Medium

Estimated duration

3 days

Details & acceptance criteria

  • The output strings should be readable and clear when printed to the console
  • Tables should be used (ex. with tabled) to display structs with multiple fields (with some exceptions where the struct can be represented via a canonical string, like StructTag)
  • Outputs should be consistent across all types
  • Update existing types' impls if necessary to conform
  • Omit fields that should not be readable for security reasons, such as private keys

Pull request required?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    incentivizedThis task is part of the SDK Incentive Program

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions