Skip to content
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

Make aws_sdk_polly::types::Voice Serialize #795

Closed
2 tasks
attila-lin opened this issue Apr 23, 2023 · 3 comments
Closed
2 tasks

Make aws_sdk_polly::types::Voice Serialize #795

attila-lin opened this issue Apr 23, 2023 · 3 comments
Labels
duplicate This issue is a duplicate. feature-request A feature should be added or improved.

Comments

@attila-lin
Copy link

Describe the feature

It can't be serialize

Use Case

I want to serialize it through JSON to web end.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

A note for the community

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment
@attila-lin attila-lin added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Apr 23, 2023
@ysaito1001
Copy link
Collaborator

Thanks @attila-lin for submitting a request. While serde is currently not supported in the Rust SDK, there is an ongoing community contribution to enable it behind the unstable feature flag (RFC).

One way around this limitation is to create an accompanying struct wrapping fields from aws_sdk_polly::types::Voice you wish to include and make that struct #[derive(Serialize, Deserialize)].

#[derive(Serialize, Deserialize)]
struct Voice {
    // fields from `aws_sdk_polly::types::Voice` you need.
}

@ysaito1001 ysaito1001 removed the needs-triage This issue or PR still needs to be triaged. label Apr 24, 2023
@jmklix jmklix added the duplicate This issue is a duplicate. label Jan 19, 2024
@jmklix
Copy link
Member

jmklix commented Jan 19, 2024

This is a duplicate of this feature request. Closing this one

@jmklix jmklix closed this as completed Jan 19, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue is a duplicate. feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

3 participants