|
| 1 | +{ |
| 2 | + "name": "GetPartitionKeyRangesBuilder", |
| 3 | + "derive": "Debug, Clone", |
| 4 | + "uses": [ |
| 5 | + "crate::clients::{CollectionClient, CosmosUriBuilder, ResourceType}", |
| 6 | + "crate::prelude::*", |
| 7 | + "crate::responses::*", |
| 8 | + "crate::CollectionClientRequired", |
| 9 | + "azure_sdk_core::errors::{check_status_extract_headers_and_body, AzureError}", |
| 10 | + "azure_sdk_core::modify_conditions::IfMatchCondition", |
| 11 | + "azure_sdk_core::prelude::*", |
| 12 | + "azure_sdk_core::{IfMatchConditionOption, IfMatchConditionSupport}", |
| 13 | + "chrono::{DateTime, Utc}", |
| 14 | + "hyper::StatusCode", |
| 15 | + "std::convert::TryInto" |
| 16 | + ], |
| 17 | + "inline": true, |
| 18 | + "extra_types": [ "'a", "'b", "CUB" ], |
| 19 | + "extra_wheres": ["CUB: CosmosUriBuilder" ], |
| 20 | + "constructor_fields": [ |
| 21 | + { |
| 22 | + "name": "collection_client", |
| 23 | + "field_type": "&'a CollectionClient<'a, CUB>", |
| 24 | + "trait_get": "CollectionClientRequired<'a, CUB>" |
| 25 | + } |
| 26 | + ], |
| 27 | + "fields": [ |
| 28 | + { |
| 29 | + "name": "if_match_condition", |
| 30 | + "field_type": "IfMatchCondition<'b>", |
| 31 | + "optional": true, |
| 32 | + "trait_get": "IfMatchConditionOption<'b>", |
| 33 | + "trait_set": "IfMatchConditionSupport<'b>" |
| 34 | + }, |
| 35 | + { |
| 36 | + "name": "if_modified_since", |
| 37 | + "field_type": "&'b DateTime<Utc>", |
| 38 | + "optional": true, |
| 39 | + "trait_get": "IfModifiedSinceOption<'b>", |
| 40 | + "trait_set": "IfModifiedSinceSupport<'b>" |
| 41 | + }, |
| 42 | + { |
| 43 | + "name": "user_agent", |
| 44 | + "field_type": "&'b str", |
| 45 | + "optional": true, |
| 46 | + "trait_get": "UserAgentOption<'b>", |
| 47 | + "trait_set": "UserAgentSupport<'b>" |
| 48 | + }, |
| 49 | + { |
| 50 | + "name": "activity_id", |
| 51 | + "field_type": "&'b str", |
| 52 | + "optional": true, |
| 53 | + "trait_get": "ActivityIdOption<'b>", |
| 54 | + "trait_set": "ActivityIdSupport<'b>" |
| 55 | + }, |
| 56 | + { |
| 57 | + "name": "consistency_level", |
| 58 | + "field_type": "ConsistencyLevel<'b>", |
| 59 | + "optional": true, |
| 60 | + "trait_get": "ConsistencyLevelOption<'b>", |
| 61 | + "trait_set": "ConsistencyLevelSupport<'b>" |
| 62 | + } |
| 63 | + ] |
| 64 | +} |
0 commit comments