@@ -2,7 +2,7 @@ use azure_core::ClientOptions;
2
2
3
3
#[ derive( Clone , Debug , Default ) ]
4
4
pub struct CosmosClientOptions {
5
- pub ( crate ) client_options : ClientOptions
5
+ pub ( crate ) client_options : ClientOptions ,
6
6
}
7
7
8
8
impl CosmosClientOptions {
@@ -12,19 +12,12 @@ impl CosmosClientOptions {
12
12
}
13
13
14
14
#[ derive( Clone , Debug , Default ) ]
15
- pub struct ReadDatabaseOptions {
16
- pub ( crate ) if_match : Option < azure_core:: Etag > ,
17
- pub ( crate ) if_none_match : Option < azure_core:: Etag > ,
18
- }
15
+ pub struct ReadDatabaseOptions { }
19
16
20
- impl ReadDatabaseOptions {
21
- pub fn builder ( ) -> builders:: ReadDatabaseOptionsBuilder {
22
- builders:: ReadDatabaseOptionsBuilder :: default ( )
23
- }
24
- }
17
+ impl ReadDatabaseOptions { }
25
18
26
19
pub mod builders {
27
- use crate :: { ReadDatabaseOptions , CosmosClientOptions } ;
20
+ use crate :: { CosmosClientOptions , ReadDatabaseOptions } ;
28
21
29
22
#[ derive( Default ) ]
30
23
pub struct CosmosClientOptionsBuilder ( CosmosClientOptions ) ;
@@ -42,15 +35,5 @@ pub mod builders {
42
35
pub fn build ( & self ) -> ReadDatabaseOptions {
43
36
self . 0 . clone ( )
44
37
}
45
-
46
- pub fn if_match ( & mut self , if_match : azure_core:: Etag ) -> & mut Self {
47
- self . 0 . if_match = Some ( if_match) ;
48
- self
49
- }
50
-
51
- pub fn if_none_match ( & mut self , if_none_match : azure_core:: Etag ) -> & mut Self {
52
- self . 0 . if_none_match = Some ( if_none_match) ;
53
- self
54
- }
55
38
}
56
39
}
0 commit comments