We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#[derive(Clone, Debug, Serialize, PartialEq)] #[serde(rename = "response")] pub struct Response { #[serde(rename = "intent", with = "quick_xml::serde_helpers::text_content")] pub intent: Intent, } #[derive(Clone, Debug, Serialize, PartialEq)] #[serde(rename_all = "SCREAMING_SNAKE_CASE")] pub enum Intent { Accept, Reject, }
results in
<response> <intent> ACCEPT </intent> </response>
when indentation is enabled. In my understanding it's incorrect that the element content (intent) contains whitespace.
intent
The text was updated successfully, but these errors were encountered:
Yes, I think, this is undesired behavior and we need to fix it
Sorry, something went wrong.
Duplicate of #655
No branches or pull requests
results in
when indentation is enabled. In my understanding it's incorrect that the element content (
intent
) contains whitespace.The text was updated successfully, but these errors were encountered: