@@ -21,6 +21,7 @@ pub struct Collection {
21
21
pub external_id : Option < String > ,
22
22
pub hide_passwords : bool ,
23
23
pub read_only : bool ,
24
+ pub manage : bool ,
24
25
}
25
26
26
27
#[ derive( Serialize , Deserialize , Debug , JsonSchema ) ]
@@ -35,6 +36,7 @@ pub struct CollectionView {
35
36
pub external_id : Option < String > ,
36
37
pub hide_passwords : bool ,
37
38
pub read_only : bool ,
39
+ pub manage : bool ,
38
40
}
39
41
40
42
impl LocateKey for Collection {
@@ -57,6 +59,7 @@ impl KeyDecryptable<SymmetricCryptoKey, CollectionView> for Collection {
57
59
external_id : self . external_id . clone ( ) ,
58
60
hide_passwords : self . hide_passwords ,
59
61
read_only : self . read_only ,
62
+ manage : self . manage ,
60
63
} )
61
64
}
62
65
}
@@ -72,6 +75,7 @@ impl TryFrom<CollectionDetailsResponseModel> for Collection {
72
75
external_id : collection. external_id ,
73
76
hide_passwords : collection. hide_passwords . unwrap_or ( false ) ,
74
77
read_only : collection. read_only . unwrap_or ( false ) ,
78
+ manage : collection. manage . unwrap_or ( false ) ,
75
79
} )
76
80
}
77
81
}
0 commit comments