Skip to content

Commit 962f5e6

Browse files
committed
fix(bounds): bound type name was wrong for serialization
Signed-off-by: Raphael Höser <[email protected]>
1 parent b0ffeb1 commit 962f5e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/request_options.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ pub enum BoundType {
6161
#[serde(rename_all = "camelCase")]
6262
pub struct Bound<'a> {
6363
/// The type of the bound
64+
#[serde(rename = "type")]
6465
pub bound_type: BoundType,
6566
/// The value of the bound
6667
pub id: &'a str,

0 commit comments

Comments
 (0)