Skip to content

Commit f90f728

Browse files
authored
Change cosmos PartitionKeyRange throughput_fraction to f32 (#1281)
1 parent 9ba8eaf commit f90f728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk/data_cosmos/src/operations/get_partition_key_ranges.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl GetPartitionKeyRangesBuilder {
4747
}
4848
}
4949

50-
#[derive(Debug, Clone, PartialEq, Eq)]
50+
#[derive(Debug, Clone, PartialEq)]
5151
pub struct GetPartitionKeyRangesResponse {
5252
pub rid: String,
5353
pub content_location: Option<String>,
@@ -111,7 +111,7 @@ impl GetPartitionKeyRangesResponse {
111111
}
112112
}
113113

114-
#[derive(Debug, PartialEq, Eq, PartialOrd, Clone, Deserialize)]
114+
#[derive(Debug, Clone, Deserialize, PartialEq, PartialOrd)]
115115
pub struct PartitionKeyRange {
116116
#[serde(rename = "_rid")]
117117
pub rid: String,
@@ -126,7 +126,7 @@ pub struct PartitionKeyRange {
126126
pub rid_prefix: u64,
127127
pub _self: String,
128128
#[serde(rename = "throughputFraction")]
129-
pub throughput_fraction: u64,
129+
pub throughput_fraction: f32,
130130
pub status: String,
131131
// TODO: parents
132132
#[serde(rename = "_ts")]

0 commit comments

Comments
 (0)