HomePhabricator
Diffusion Comm e78de5e00497

Implement Display and TryFrom traits for DeviceType

Description

Implement Display and TryFrom traits for DeviceType

Summary:
Implemented Display and TryFrom impls to generated DeviceType object in grpc_clients/identity/src/device.rs.
Being able to marshal the protobuf into a "more realized" object will likely be useful in the future for both devices and services.

Test Plan: Write unit tests located in grpc_clients/identity/src/device.rs for both Display and TryFrom.

Reviewers: varun

Reviewed By: varun

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D9384

Details

Provenance
willAuthored on Oct 5 2023, 9:30 PM
Reviewer
varun
Differential Revision
D9384: Implement Display and TryFrom traits for DeviceType
Parents
rCOMM087072ef3418: [keyserver] edit warning to notify user of optional login
Branches
Unknown
Tags
Unknown