Skip to content

Add ListKeys operation #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 7, 2020
Merged

Conversation

joechrisellis
Copy link
Contributor

No description provided.

@joechrisellis joechrisellis force-pushed the add-list-keys branch 2 times, most recently from 1f7e841 to 7b40757 Compare October 7, 2020 10:56
#[derive(Debug, Clone, PartialEq)]
pub struct KeyInfo {
/// The ID of the associated provider.
pub provider_id: u32,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be ProviderID?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, my bad!

@joechrisellis joechrisellis force-pushed the add-list-keys branch 2 times, most recently from 11323fb to 092595e Compare October 7, 2020 12:08
Joe Ellis added 2 commits October 7, 2020 13:09
Comment on lines +10 to +18
#[derive(Debug, Clone, PartialEq)]
pub struct KeyInfo {
/// The ID of the associated provider.
pub provider_id: ProviderID,
/// The name of the key.
pub name: String,
/// The key attributes.
pub attributes: Attributes,
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does Attributes have Display implemented? If so, it might be worth implementing it for this one as well, might make the job in parsec-tool easier 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, great spot -- but unfortunately it does not have Display implemented. We can add this in another PR. 😄

Copy link
Member

@hug-dev hug-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the tests.

@hug-dev hug-dev merged commit ce3590d into parallaxsecond:master Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants